Skip to content

Commit

Permalink
use proper env var
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBout committed Nov 27, 2024
1 parent 420ed3a commit 48d5730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
env:
BRANCH_NAME: ${{ env.BRANCH_NAME }}
uses: docker/[email protected]
with:
context: .
Expand All @@ -82,7 +84,7 @@ jobs:
build-args: |
DOTNET_BUILD_PLATFORM=linux-arm64
# set version number to the version in the tag name if this is a release
VERSION_NUMBER=$BRANCH_NAME
VERSION_NUMBER=${BRANCH_NAME}
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down

0 comments on commit 48d5730

Please sign in to comment.