Skip to content

Commit 5122496

Browse files
committed
Merge pull request #437 from q384566678/test-url
descriptor.md: Add the urls attribute instance in the Examples
2 parents 0fb4ba3 + 21c55a7 commit 5122496

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

descriptor.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,17 @@ The following example describes a [_Manifest_](manifest.md#image-manifest) with
118118
"size": 7682,
119119
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270"
120120
}
121+
122+
In the following example, the descriptor indicates that the referenced manifest is retrievable from a particular URL:
123+
124+
{
125+
"mediaType": "application/vnd.oci.image.manifest.v1+json",
126+
"size": 7682,
127+
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270",
128+
"urls": [
129+
"https://example.com/example-manifest"
130+
]
131+
}
121132
```
122133

123134
[rfc3986]: https://tools.ietf.org/html/rfc3986

0 commit comments

Comments
 (0)