Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Copy many images to ocidir#858

Draft
kohtala wants to merge 1 commit intoregclient:mainfrom
okoko:ocidir
Draft

Copy many images to ocidir#858
kohtala wants to merge 1 commit intoregclient:mainfrom
okoko:ocidir

Conversation

@kohtala
Copy link

@kohtala kohtala commented Nov 16, 2024

Fixes issue

Relates to #710 to help copy many images into an ocidir.

Describe the change

Add support for ocidir URI fragment to specify the image in index.

The index gains the io.containerd.image.name annotation for full image name.

How to verify it

regctl image copy alpine "ocidir://t#test"
regctl image copy alpine:edge "ocidir://t#edge:latest"

This should result in two images in the index.

As this is currently, this does not work as intended. It still matches by the tag rather than by the image name. Therefore I keep this as draft.

Changelog text

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

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