Merge pull request #8226 from ywk253100/190705_replication

Support v1 signed media type when do the replication
This commit is contained in:
Steven Zou 2019-07-05 14:17:09 +08:00 committed by GitHub
commit a83a03e799
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,
})