Skip to content

Commit

Permalink
Merge pull request #7627 from turan18/backport-ctr-export-strict
Browse files Browse the repository at this point in the history
[release/1.6] ctr export strictly match default platform
  • Loading branch information
estesp committed Nov 5, 2022
2 parents a865cb5 + 3f9f950 commit 10841d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ctr/commands/images/export.go
Expand Up @@ -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") {
Expand Down

0 comments on commit 10841d6

Please sign in to comment.