mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
Fix: commit ref passed to docker build (#302)
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
||||
--output "type=image,push=true" \
|
||||
--tag "${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}" \
|
||||
--tag "${{ steps.prepare.outputs.docker_image }}:latest" \
|
||||
--build-arg REF=${ref} \
|
||||
--build-arg REF=${{ steps.prepare.outputs.ref }} \
|
||||
--file Dockerfile .
|
||||
|
||||
test:
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
docker buildx build --platform ${{ steps.prepare.outputs.docker_platforms }} \
|
||||
--output "type=image,push=true" \
|
||||
--tag "${{ steps.prepare.outputs.docker_image }}:nightly" \
|
||||
--build-arg REF=${ref} \
|
||||
--build-arg REF=${{ steps.prepare.outputs.ref }} \
|
||||
--file Dockerfile .
|
||||
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user