[enh] container: latest tag should be last (#5078)

With this change, the "latest" tag will be visually higher (on registry tag list). Right now, it appears under the "DOCKER_TAG" manifest tag, which can be confusing.
This commit is contained in:
Ivan Gabaldon 2025-08-01 14:51:28 +02:00 committed by GitHub
parent 664aab0ec9
commit 3d96414482
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -254,8 +254,8 @@ container.push() {
podman pull "ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache:$CONTAINER_IMAGE_NAME-${archs[$i]}${variants[$i]}"
done
# Manifest tags
release_tags=("latest" "$DOCKER_TAG")
# Manifest tags ("latest" should be the last manifest)
release_tags=("$DOCKER_TAG" "latest")
# Create manifests
for tag in "${release_tags[@]}"; do