vendor-images.sh: skopeo --registries-conf, not the env variable

skopeo 1.22 ignores CONTAINERS_REGISTRIES_CONF, so the mirror was copied
onto itself.

[skip ci]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-11-02 19:50:47 -09:00
parent 2c79c38515
commit 8ab8a2162e

View file

@ -15,7 +15,9 @@ set -uo pipefail
mirror=${MIRROR:-forge.quinefoundation.com/quine-global-labs/mirror}
# Read from upstream itself, not from the mirror registries.conf points at.
export CONTAINERS_REGISTRIES_CONF=/dev/null
# The flag, not CONTAINERS_REGISTRIES_CONF: skopeo 1.22 ignores that, and
# the mirror was being copied onto itself (stuck on old upstream images).
skopeo() { command skopeo --registries-conf /dev/null "$@"; }
for ref in "$@"; do
src="docker://$ref"