vendor: patch c/image to pull manifest lists

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-06-01 09:55:20 +02:00
parent ba652fbcde
commit 717881eddb
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -416,8 +416,15 @@ func (s *storageImageDestination) Commit() error {
return nil
}
var manifestMIMETypes = []string{
// TODO(runcom): we'll add OCI as part of another PR here
manifest.DockerV2Schema2MediaType,
manifest.DockerV2Schema1SignedMediaType,
manifest.DockerV2Schema1MediaType,
}
func (s *storageImageDestination) SupportedManifestMIMETypes() []string {
return nil
return manifestMIMETypes
}
// PutManifest writes manifest to the destination.