Skip to content

Commit

Permalink
.github: use 'v'-prefixed image version tags.
Browse files Browse the repository at this point in the history
Don't strip the 'v' prefix from version tags. For consistency, also
inject a leading 'v' prefix to versions derived from release branch
names. IOW, call the image generated from the tip of a release-0.2
branch 'v0.2-unstable' instead of '0.2-unstable'.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Oct 17, 2023
1 parent ff43d1f commit 3e40231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
tag=unstable
;;
refs/heads/release-*)
tag="${GITREF#refs/heads/release-}-unstable"
tag="v${GITREF#refs/heads/release-}-unstable"
;;
*)
echo "error: can't determine tag."
Expand Down

0 comments on commit 3e40231

Please sign in to comment.