From 717881eddb891ace8644b220175424f12928ba59 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 1 Jun 2017 09:55:20 +0200 Subject: [PATCH] vendor: patch c/image to pull manifest lists Signed-off-by: Antonio Murdaca --- .../github.com/containers/image/storage/storage_image.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vendor/github.com/containers/image/storage/storage_image.go b/vendor/github.com/containers/image/storage/storage_image.go index 1d7bc164..7879aeca 100644 --- a/vendor/github.com/containers/image/storage/storage_image.go +++ b/vendor/github.com/containers/image/storage/storage_image.go @@ -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.