project-zot / zot

zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)
https://zotregistry.dev
Apache License 2.0
938 stars 99 forks source link

sync: pull all tag for a given manifest if at least one of them is specified in the zot config #267

Closed andaaron closed 2 years ago

andaaron commented 3 years ago

Current zot sync configuration specifies what images with what tags to be pulled from a remote repo. Each OCI image and the specified tag is copied locally, but not other tags which may be pointing to the same image manifest. This task tracks copying all tags pointing to the same manifest which is copied by zot sync.

For example, let's say we have an image called "service" which has the following tags:

Since both latest and 1.0.1 point to manifest B, I would like to copy the tag 1.0.1 as well. This way I can be sure I always have the latest version locally, but I can also identify it using a semantic version tag.

This feature track the sync feature pulling all tag for manifest B if at least one of them is specified in the zot config.

andaaron commented 2 years ago

No recent activity, let's close this.