Created
December 2, 2025 13:58
-
-
Save ralvares/bbd4b4694bffa29e3663e84f524878b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| REGISTRY="quay.io/hummingbird" | |
| REPOS=( | |
| curl | |
| core-runtime | |
| dotnet-sdk | |
| openjdk | |
| php | |
| xcaddy | |
| httpd | |
| dotnet-runtime | |
| aspnet-runtime | |
| nodejs | |
| caddy | |
| mariadb | |
| python | |
| go | |
| rust | |
| haproxy | |
| memcached | |
| ruby | |
| git | |
| nginx | |
| valkey | |
| tomcat | |
| minio-client | |
| postgresql | |
| minio | |
| ) | |
| TAGS=(latest latest-builder) | |
| get_size() { | |
| local image="$1" | |
| size_bytes=$(podman image inspect --format '{{.Size}}' "$image" 2>/dev/null || echo 0) | |
| size_mb=$(awk "BEGIN {printf \"%.1f MB\", $size_bytes/1024/1024}") | |
| echo "$size_mb" | |
| } | |
| for r in "${REPOS[@]}"; do | |
| for t in "${TAGS[@]}"; do | |
| IMAGE="${REGISTRY}/${r}:${t}" | |
| podman pull "$IMAGE" >/dev/null 2>&1 || continue | |
| SIZE=$(get_size "${IMAGE}") | |
| echo "${IMAGE} ${SIZE}" | |
| done | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment