fix pulling charts from OCI indices

Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
pull/31883/head
Pedro Tôrres 7 months ago
parent de11348b9d
commit e629995c5d
No known key found for this signature in database
GPG Key ID: 5C935CBE288EEE39

@ -510,6 +510,7 @@ func (c *Client) Pull(ref string, options ...PullOption) (*PullResult, error) {
} }
memoryStore := memory.New() memoryStore := memory.New()
allowedMediaTypes := []string{ allowedMediaTypes := []string{
ocispec.MediaTypeImageIndex,
ocispec.MediaTypeImageManifest, ocispec.MediaTypeImageManifest,
ConfigMediaType, ConfigMediaType,
} }

Loading…
Cancel
Save