Skip to content

Commit

Permalink
Only push alma9-latest tag if latest tag is also set
Browse files Browse the repository at this point in the history
Otherwise, it will not generate correctly the -alma9 tag.
  • Loading branch information
rcarpa authored and bari12 committed Dec 22, 2023
1 parent ff95036 commit 91d1c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
fi
# TODO: remove this hack hack once rucio tests are updated to use the default image.
if [[ "${CONTEXT}" =~ .*"push-alma9-latest".* ]]; then
if [[ "${CONTEXT}" =~ .*"push-alma9-latest".* && -n "$LATEST_TAG" ]]; then
TAGS_TO_PUSH="${LATEST_TAG}-alma9,${TAGS_TO_PUSH}"
fi
Expand Down

0 comments on commit 91d1c29

Please sign in to comment.