Skip to content

Commit 9a2b855

Browse files
authored
Merge pull request containerd#9867 from daghack/oci-add-mediatype
adds mediatype to oci index record
2 parents 6333db7 + 17ea395 commit 9a2b855

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/images/archive/exporter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
466466
Versioned: ocispecs.Versioned{
467467
SchemaVersion: 2,
468468
},
469+
MediaType: ocispec.MediaTypeImageIndex,
469470
Manifests: manifests,
470471
}
471472

0 commit comments

Comments
 (0)