vendor: patch c/image to pull manifest lists
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
ba652fbcde
commit
717881eddb
1 changed files with 8 additions and 1 deletions
9
vendor/github.com/containers/image/storage/storage_image.go
generated
vendored
9
vendor/github.com/containers/image/storage/storage_image.go
generated
vendored
|
@ -416,8 +416,15 @@ func (s *storageImageDestination) Commit() error {
|
||||||
return nil
|
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 {
|
func (s *storageImageDestination) SupportedManifestMIMETypes() []string {
|
||||||
return nil
|
return manifestMIMETypes
|
||||||
}
|
}
|
||||||
|
|
||||||
// PutManifest writes manifest to the destination.
|
// PutManifest writes manifest to the destination.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue