You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
annotations: restrict character set of ref.name values
URI are standard enough, though % opens it a bit too much.
After much discussion we're going to keep it as close to the docker tag
as possible but with +, @ and /
reference: opencontainers#671 (comment)
And rather than making up our own mock grammar, lean on more formal
EBNF.
Fixesopencontainers#599
Signed-off-by: Vincent Batts <[email protected]>
Copy file name to clipboardExpand all lines: annotations.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,25 @@ This specification defines the following annotation keys, intended for but not l
28
28
***org.opencontainers.image.revision** Source control revision identifier for the packaged software.
29
29
***org.opencontainers.image.vendor** Name of the distributing entity, organization or individual.
30
30
***org.opencontainers.image.licenses** License(s) under which contained software is distributed as an [SPDX License Expression][spdx-license-expression].
31
-
***org.opencontainers.image.ref.name** Name of the reference for a target (string). SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md).
31
+
***org.opencontainers.image.ref.name** Name of the reference for a target (string).
32
+
* SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md).
33
+
* Character set of the value SHOULD conform to alphanum of `A-Za-z0-9` and separator set of `-._:@/+`
0 commit comments