Skip to content

Commit 4b7da41

Browse files
committed
modify tag name in build
1 parent 3c08344 commit 4b7da41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build_images.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
2525
# If this is git tag, use the tag name as a docker tag
2626
if [[ $GITHUB_REF == refs/tags/* ]]; then
27-
VERSION==${GITHUB_REF/refs\/tags\//}
28-
#VERSION=${GITHUB_REF#refs/tags/v}
27+
VERSION=${GITHUB_REF#refs/tags/v::5}
2928
fi
3029
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}"
3130

0 commit comments

Comments
 (0)