Skip to content

Commit

Permalink
feat: use build-args
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Aug 4, 2023
1 parent 1a564b6 commit 46b7d58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ runs:
GITHUB_SERVER_URL: ${{ inputs.github-server-url }}
DOCKER_REGISTRY_URL: ${{ inputs.docker-registry-url }}
DOCKER_BUILDKIT: '0' # Using remote git context with buildkit does not support referencing merge commits via SHA
run: docker build -t ${DOCKER_REGISTRY_URL#http*://}/$IMAGE:$TAG -f $DOCKERFILE $GITHUB_SERVER_URL/$REPOSITORY.git#$REF
BUILD_ARGS: ${{ inputs.build-args }}
run: docker build -t ${DOCKER_REGISTRY_URL#http*://}/$IMAGE:$TAG -f $DOCKERFILE ${BUILD_ARGS} $GITHUB_SERVER_URL/$REPOSITORY.git#$REF
shell: bash
- id: run
env:
Expand Down

0 comments on commit 46b7d58

Please sign in to comment.