Closed errordeveloper closed 1 year ago
from mutate.ConfigMediaType
docs:
// ConfigMediaType modifies the MediaType() of the given image's Config.
//
// If !mt.IsConfig(), this will be the image's artifactType in any indexes it's a part of.
so perhaps it already does the right thing for index, and it's not a registry-side fallback as such.
Currently, Tape relies on registry fallback logic that infers
artifactType
when a custom media is used. It's probably safe to setartifactType
explicitly.