You've already forked registry-auth
mirror of
https://github.com/alauda/registry-auth.git
synced 2026-10-25 01:19:23 +03:00
scripts/simple-tests.sh ran `skopeo copy ... docker-archive:/tmp/registry-src.tar` inside do_tests, so the second iteration (v3.0.0) failed with "docker-archive doesn't support modifying existing images" because the v2.8.1 pass had already written the file. Move the source-image fetch into its own prepare_source_image called once from main(), and guard with -f so reruns are idempotent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>