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.
1 parent 28462ef commit 4fddb94Copy full SHA for 4fddb94
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