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:
parent
2c79c38515
commit
8ab8a2162e
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue