fix(sync): also sync image index mediatype (#847)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2022-10-06 19:41:16 +03:00
committed by GitHub
parent ffc9929c1a
commit 3c0c51fcbe
4 changed files with 373 additions and 80 deletions
+1
View File
@@ -267,6 +267,7 @@ func getCopyOptions(upstreamCtx, localCtx *types.SystemContext) copy.Options {
ReportWriter: io.Discard,
ForceManifestMIMEType: ispec.MediaTypeImageManifest, // force only oci manifest MIME type
PreserveDigests: true,
ImageListSelection: copy.CopyAllImages,
}
return options