Skip to content

Commit bc58ab2

Browse files
committed
image-index: define platform.os.version on Windows
Signed-off-by: Akihiro Suda <[email protected]>
1 parent a82c098 commit bc58ab2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

image-index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
5555

5656
- **`os.version`** *string*
5757

58-
This OPTIONAL property specifies the operating system version, for example `10.0.10586`.
58+
This OPTIONAL property specifies the version of the operating system targeted by the referenced blob.
59+
Implementations MAY refuse to use manifests where `os.version` is not known to work with the host OS version.
60+
Valid values are implementation-defined. e.g. `10.0.14393.1066` on `windows`.
5961

6062
- **`os.features`** *array of strings*
6163

specs-go/v1/descriptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type Platform struct {
5151
OS string `json:"os"`
5252

5353
// OSVersion is an optional field specifying the operating system
54-
// version, for example `10.0.10586`.
54+
// version, for example on Windows `10.0.14393.1066`.
5555
OSVersion string `json:"os.version,omitempty"`
5656

5757
// OSFeatures is an optional field specifying an array of strings,

0 commit comments

Comments
 (0)