Browse Source

[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.
Ivan Gabaldon 1 day ago
parent
commit
3d96414482
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/lib_sxng_container.sh

+ 2 - 2
utils/lib_sxng_container.sh

@@ -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