Merge pull request #7615 from turan18/export-bug

ctr export strictly matching
This commit is contained in:
Derek McGowan
2022-11-02 14:36:56 -07:00
committed by GitHub

View File

@@ -80,7 +80,7 @@ When '--all-platforms' is given all images in a manifest list must be available.
}
exportOpts = append(exportOpts, archive.WithPlatform(platforms.Ordered(all...)))
} else {
exportOpts = append(exportOpts, archive.WithPlatform(platforms.Default()))
exportOpts = append(exportOpts, archive.WithPlatform(platforms.DefaultStrict()))
}
if context.Bool("all-platforms") {