ci: Fix tag detection for 'latest'

This commit is contained in:
mudler 2023-04-13 01:37:09 +02:00
parent e786576b95
commit a9cd6b3ca3
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ jobs:
# If the VERSION looks like a version number, assume that
# this is the most recent version of the image and also
# tag it 'latest'.
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
fi