Make WithCheckpoint() work with manifest list images
Simple change to allow checkpoint image references to be manifest list
images.
@@ -38,7 +38,7 @@ func WithCheckpoint(desc v1.Descriptor, snapshotKey string) NewContainerOpts {
case v1.MediaTypeImageLayer:
fk := m
rw = &fk
- case images.MediaTypeDockerSchema2Manifest:
+ case images.MediaTypeDockerSchema2Manifest, images.MediaTypeDockerSchema2ManifestList:
config, err := images.Config(ctx, store, m, platforms.Default())
if err != nil {
return err
