Skip to content

Commit

Permalink
set version number to branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBout committed Nov 27, 2024
1 parent dc48ece commit 420ed3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,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=${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.ref.replace('refs/tags/v', '') || '1.0.0' }}
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 420ed3a

Please sign in to comment.