From 8ab8a2162e4bb85dfdefe617ec7245a0e30edb94 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Mon, 2 Nov 2026 19:50:47 -0900 Subject: [PATCH] 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 --- .forgejo/vendor-images.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/vendor-images.sh b/.forgejo/vendor-images.sh index 92d698d..5b4a4c0 100755 --- a/.forgejo/vendor-images.sh +++ b/.forgejo/vendor-images.sh @@ -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"