containers / skopeo

Work with remote images registries - retrieving information, images, signing content
Apache License 2.0
7.78k stars 757 forks source link

Skopeo --scoped remove domains #1823

Closed wrender closed 1 year ago

wrender commented 1 year ago

With the skopeo sync is it possible to remove domains from the --scoped, but still keep the sub folder. For example, we want:

ourregistry.domain/rancher/aks-operator:v1.0.7 not ourregistry.domain/docker.io/rancher/rancher/aks-operator:v1.0.7

mtrmac commented 1 year ago

No, but you can modify the destination parameter to hard-code the parent of the repo you want, and use it without --scoped. Compare the “Synchronizing to a container registry keeping the repository” example in the man page.

github-actions[bot] commented 1 year ago

A friendly reminder that this issue had no activity for 30 days.

mtrmac commented 1 year ago

Closing; please reopen if the above doesn’t work.