From e512455d5ddca8bd4c89aeeb49f887ae5d5832ca Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Thu, 12 Oct 2023 00:16:07 +0300 Subject: [PATCH] images: fix the tagging docker images build from new tags 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 --- .github/workflows/publish-images.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 31eb1f180..2b1508fb9 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -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