[ci] Fix docker images not getting tagged as :latest

This commit is contained in:
Laura Hausmann 2025-02-22 22:59:04 +01:00
parent 04a5512c61
commit d33e2d7bcc
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -37,8 +37,8 @@ jobs:
# We always want to tag :{version} and :pre, but only tag :latest for stable releases, and (temporarily) v2024.1-beta releases # We always want to tag :{version} and :pre, but only tag :latest for stable releases, and (temporarily) v2024.1-beta releases
TAGS="-t $REPO:$GITHUB_REF_NAME -t $REPO:pre" TAGS="-t $REPO:$GITHUB_REF_NAME -t $REPO:pre"
# The first section below can be safely removed once v2024.1 hits stable # The first section below can be safely removed once v2025.1 hits stable
if [[ "$GITHUB_REF_NAME" == "v2024.1-beta"* ]]; then if [[ "$GITHUB_REF_NAME" == "v2025.1-beta"* ]]; then
TAGS="$TAGS -t $REPO:latest" TAGS="$TAGS -t $REPO:latest"
elif [[ "$GITHUB_REF_NAME" == *"-beta"* ]] || [[ "$GITHUB_REF_NAME" == *"-pre"* ]]; then elif [[ "$GITHUB_REF_NAME" == *"-beta"* ]] || [[ "$GITHUB_REF_NAME" == *"-pre"* ]]; then
: :