zot
zot copied to clipboard
GraphQL API: ignore manifests which have no annotation for tags.
At the moment our search logic assumes that if a manifest does not have a tag annotation, the tag should be latest: https://github.com/project-zot/zot/blob/main/pkg/extensions/search/common/oci_layout.go#L358.
We should fix this by simply skipping that manifest.