Skip to content

Commit 21c55a7

Browse files
committed
descriptor.md: Add the urls attribute instance in the Examples
Signed-off-by: zhouhao <[email protected]>
1 parent 0222be7 commit 21c55a7

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
@@ -116,4 +116,15 @@ The following example describes a [_Manifest_](manifest.md#image-manifest) with
116116
"size": 7682,
117117
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270"
118118
}
119+
120+
In the following example, the descriptor indicates that the referenced manifest is retrievable from a particular URL:
121+
122+
{
123+
"mediaType": "application/vnd.oci.image.manifest.v1+json",
124+
"size": 7682,
125+
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270",
126+
"urls": [
127+
"https://example.com/example-manifest"
128+
]
129+
}
119130
```

0 commit comments

Comments
 (0)