Skip to content

Commit

Permalink
fix: Passing build-args
Browse files Browse the repository at this point in the history
  • Loading branch information
marverix authored Aug 1, 2022
1 parent b799920 commit 03844b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
id: build-and-push
uses: docker/build-push-action@v2.10.0
with:
build-args: [ "version=${{ steps.get_version.outputs.value }}" ]
build-args: |
version=${{ steps.get_version.outputs.value }}
context: ${{ env.BUILD_CONTEXT }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 03844b1

Please sign in to comment.