Skip to content

Commit 2f19e91

Browse files
committed
image spec: Correct set of acceptable characters in tags
The image spec did not match the regexp that validates tags. It neglected to mention that period and dash characters are allowed in tags, as long as they are not the first character. It also did not mention the length limit for tags. Signed-off-by: Aaron Lehmann <[email protected]>
1 parent ee0283c commit 2f19e91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: image/spec/v1.1.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ This specification uses the following terms:
8787
<dd>
8888
A tag serves to map a descriptive, user-given name to any single image
8989
ID. Tag values are limited to the set of characters
90-
<code>[a-zA-Z_0-9]</code>.
90+
<code>[a-zA-Z0-9_.-]</code>, except they may not start with a <code>.</code>
91+
or <code>-</code> character. Tags are limited to 127 characters.
9192
</dd>
9293
<dt>
9394
Repository

0 commit comments

Comments
 (0)