Add `artifactType` filter to `ContainerRepositoryTagsResolver`
Why are we doing this work
To support presentation of image signatures on the frontend we need to allow tags to be filtered by their mediaType
.
This issue depends on container-registry#1133 (closed) and #426982 (closed).
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
- Add an
artifact_type [String]
argument ontoContainerRepositoryTagsResolver
- When using the v2 tags API, filter the tags in-memory as is currently done for the tag name
- When using the internal tags API, pass the
artifactType
to the registry via the query parameters. Filtering will be performed on the registry side.
Verification steps
Edited by Brian Williams