Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

Add the ability to copy images with external source and/or target referrer repositories.

How to verify it

echo "hello external artifact" | regctl artifact put --subject alpine --external ocidir://test/external --artifact-type application/example.test
regctl image copy alpine localhost:5002/library/alpine --referrers --referrers-src ocidir://test/external --referrers-tgt localhost:5002/external

Changelog text

  • Feat: Copy image with external referrers.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This supports both external source and target repositories for referrers.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 5b34bb3 into regclient:main Dec 4, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-image-copy-external-referrers branch December 4, 2024 22:05
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.

1 participant