Merge pull request #9867 from daghack/oci-add-mediatype

adds mediatype to oci index record
This commit is contained in:
Phil Estes
2024-02-29 21:32:59 +00:00
committed by GitHub

View File

@@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
Versioned: ocispecs.Versioned{
SchemaVersion: 2,
},
MediaType: ocispec.MediaTypeImageIndex,
Manifests: manifests,
}