Add `referrer_type` filter to `ContainerRepositoryTagsResolver`
What does this MR do and why?
Adds the referrer_type
parameter to the tags
field of containerRepository
. This will apply a filter to the referrers
field when the referrers
param of tags
is set to true.
container-registry!1477 (merged) is the associated update to the container registry API.
Sample query
query {
containerRepository(id: "gid://gitlab/ContainerRepository/2") {
tags(first: 100, referrers: true, referrerType: "application/vnd.drv.cosign.artifact.sig.v1+json") {
edges {
node {
name
path
referrers {
artifactType
digest
}
}
}
}
}
}
Related to #426983 (closed)
Edited by Aaron Huntsman