Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 5643619

Browse files
author
priyawadhwa
authored
Merge pull request #226 from priyawadhwa/manifest
Add manifest type to scratch images
2 parents b2e2f7e + 5e441e1 commit 5643619

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/image/mutable_source.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ func MutableSourceFromScratch() (*MutableSource, error) {
9292
},
9393
extraBlobs: make(map[string][]byte),
9494
cfg: config,
95-
mfst: &manifest.Schema2{},
95+
mfst: &manifest.Schema2{
96+
SchemaVersion: 2,
97+
MediaType: manifest.DockerV2Schema2MediaType,
98+
},
9699
}
97100
return ms, nil
98101
}

0 commit comments

Comments
 (0)