mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 18:55:18 +01:00
Support v1 signed media type when do the replication
Support v1 signed media type when do the replicatio Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
7c86c98687
commit
d2a938812f
@ -261,6 +261,7 @@ func (t *transfer) pullManifest(repository, reference string) (
|
|||||||
t.logger.Infof("pulling the manifest of image %s:%s ...", repository, reference)
|
t.logger.Infof("pulling the manifest of image %s:%s ...", repository, reference)
|
||||||
manifest, digest, err := t.src.PullManifest(repository, reference, []string{
|
manifest, digest, err := t.src.PullManifest(repository, reference, []string{
|
||||||
schema1.MediaTypeManifest,
|
schema1.MediaTypeManifest,
|
||||||
|
schema1.MediaTypeSignedManifest,
|
||||||
schema2.MediaTypeManifest,
|
schema2.MediaTypeManifest,
|
||||||
manifestlist.MediaTypeManifestList,
|
manifestlist.MediaTypeManifestList,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user