vendor-images.sh: skopeo never read CONTAINERS_REGISTRIES_CONF

Not a 1.22 change, as the last commit said: 1.16 ignored it too.

[skip ci]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-11-02 20:43:43 -09:00
parent 8ab8a2162e
commit accb20a488

View file

@ -15,8 +15,11 @@ set -uo pipefail
mirror=${MIRROR:-forge.quinefoundation.com/quine-global-labs/mirror}
# Read from upstream itself, not from the mirror registries.conf points at.
# The flag, not CONTAINERS_REGISTRIES_CONF: skopeo 1.22 ignores that, and
# the mirror was being copied onto itself (stuck on old upstream images).
# The flag, not CONTAINERS_REGISTRIES_CONF: podman and buildah read that
# variable, but skopeo never has. Until 2026-11-03 this exported it, skopeo
# read the mirror, and every run copied the mirror onto itself, so tags
# stayed at their first copy. (runner-x86-linux's skopeo now honors the
# variable too; petersweb-infra, hosts/runner-x86-linux.)
skopeo() { command skopeo --registries-conf /dev/null "$@"; }
for ref in "$@"; do