adds mediatype to oci index record

Signed-off-by: Talon Bowler <talon.bowler@docker.com>
This commit is contained in:
Talon 2024-02-23 11:38:40 -08:00 committed by Talon Bowler
parent 33e544e94a
commit 17ea3959bc

View File

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