Skip to content

Commit

Permalink
devops: fix Docker publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Sep 30, 2024
1 parent ce4981b commit fd374cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions utils/docker/publish_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ publish_docker_images_with_arch_suffix() {
TAGS=("${FOCAL_TAGS[@]}")
elif [[ "$FLAVOR" == "jammy" ]]; then
TAGS=("${JAMMY_TAGS[@]}")
elif [[ "$FLAVOR" == "noble" ]]; then
TAGS=("${NOBLE_TAGS[@]}")
else
echo "ERROR: unknown flavor - $FLAVOR. Must be either 'focal' or 'jammy'"
echo "ERROR: unknown flavor - $FLAVOR. Must be either 'focal', 'jammy' or 'noble'"
exit 1
fi
local ARCH="$2"
Expand All @@ -99,8 +101,10 @@ publish_docker_manifest () {
TAGS=("${FOCAL_TAGS[@]}")
elif [[ "$FLAVOR" == "jammy" ]]; then
TAGS=("${JAMMY_TAGS[@]}")
elif [[ "$FLAVOR" == "noble" ]]; then
TAGS=("${NOBLE_TAGs[@]}")
else
echo "ERROR: unknown flavor - $FLAVOR. Must be either 'focal' or 'jammy'"
echo "ERROR: unknown flavor - $FLAVOR. Must be either 'focal', 'jammy' or 'noble'"
exit 1
fi

Expand Down

0 comments on commit fd374cb

Please sign in to comment.