Merge pull request #8167 from ywk253100/190622_replication

Support v1 signed media type when do the replication
This commit is contained in:
Wenkai Yin(尹文开) 2019-07-05 14:33:22 +08:00 committed by GitHub
commit 0f28fe42fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,6 +261,7 @@ func (t *transfer) pullManifest(repository, reference string) (
t.logger.Infof("pulling the manifest of image %s:%s ...", repository, reference)
manifest, digest, err := t.src.PullManifest(repository, reference, []string{
schema1.MediaTypeManifest,
schema1.MediaTypeSignedManifest,
schema2.MediaTypeManifest,
manifestlist.MediaTypeManifestList,
})