Skip to content

Commit

Permalink
images: fix the tagging docker images build from new tags
Browse files Browse the repository at this point in the history
When docker image workflow is triggered based on the new tag push
which usually includes v as prefix, the workflow drops the v prefix.
As such, when v0.2.0 tag is pushed to GitHub, we end up with 0.2.0
tags in the docker images. This commit fixes the workflow to keep
the v prefix.

Signed-off-by: Feruzjon Muyassarov <[email protected]>
  • Loading branch information
fmuyassarov committed Oct 11, 2023
1 parent da49e31 commit 0be88ac
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 @@ -47,7 +47,7 @@ jobs:
echo " - digging out tag from git ref $GITREF..."
case $GITREF in
refs/tags/v*)
tag="${GITREF#refs/tags/v}"
tag="${GITREF#refs/tags/}"
;;
refs/heads/main)
tag=unstable
Expand Down

0 comments on commit 0be88ac

Please sign in to comment.