Skip to content

Commit 6605c47

Browse files
committed
adds mediatype to oci index record
Signed-off-by: Talon Bowler <[email protected]> (cherry picked from commit 17ea395)
1 parent be5ec97 commit 6605c47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

images/archive/exporter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
471471
Versioned: ocispecs.Versioned{
472472
SchemaVersion: 2,
473473
},
474+
MediaType: ocispec.MediaTypeImageIndex,
474475
Manifests: manifests,
475476
}
476477

0 commit comments

Comments
 (0)