[ci] Fix docker images not getting tagged as :latest
This commit is contained in:
parent
04a5512c61
commit
d33e2d7bcc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
:
|
:
|
||||||
|
|
Loading…
Add table
Reference in a new issue