Skip to content

Conversation

@pjbgf
Copy link
Member

@pjbgf pjbgf commented Nov 7, 2025

This enables the copying of signatures from mirrored images which were not copied over during the image sync process.

At present it will only copy mirrored images.

This enables the copying of signatures from mirrored images which
were not copied over during the image sync process.

At present it will only copy mirrored images.

Signed-off-by: Paulo Gomes <[email protected]>
@pjbgf pjbgf requested a review from a team as a code owner November 7, 2025 14:26
crane.WithContext(ctx),
crane.WithNoClobber(true)) // ensure tags won't be overwritten.

if err != nil && !strings.Contains(err.Error(), "refusing to clobber existing tag") {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be replaced with errors.Is when upstream exposes this error.

@pjbgf pjbgf merged commit bdb68e3 into main Nov 7, 2025
8 checks passed
@pjbgf pjbgf deleted the mirrored branch November 7, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants