fix(sync): also sync on demand digests, not only tags, closes #902 (#932)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2022-10-27 19:39:59 +03:00
committed by GitHub
parent c6ffbce6cf
commit 2d877aaea1
4 changed files with 130 additions and 46 deletions
-1
View File
@@ -182,7 +182,6 @@ func getCopyOptions(upstreamCtx, localCtx *types.SystemContext) copy.Options {
SourceCtx: upstreamCtx,
ReportWriter: io.Discard,
ForceManifestMIMEType: ispec.MediaTypeImageManifest, // force only oci manifest MIME type
PreserveDigests: true,
ImageListSelection: copy.CopyAllImages,
}