We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 634a86b + 4fddb94 commit edc826aCopy full SHA for edc826a
schema/validator.go
@@ -164,6 +164,9 @@ func validateIndex(r io.Reader) error {
164
if manifest.MediaType != string(v1.MediaTypeImageManifest) {
165
fmt.Printf("warning: manifest %s has an unknown media type: %s\n", manifest.Digest, manifest.MediaType)
166
}
167
+ if manifest.Platform != nil {
168
+ checkPlatform(manifest.Platform.OS, manifest.Platform.Architecture)
169
+ }
170
171
172
0 commit comments