File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ ___
31
31
* [ ` type=raw ` ] ( #typeraw )
32
32
* [ ` type=sha ` ] ( #typesha )
33
33
* [ Notes] ( #notes )
34
+ * [ Image name and tag sanitization] ( #image-name-and-tag-sanitization )
34
35
* [ Latest tag] ( #latest-tag )
35
36
* [ Global expressions] ( #global-expressions )
36
37
* [ ` {{branch}} ` ] ( #branch )
@@ -625,6 +626,22 @@ tags: |
625
626
626
627
# # Notes
627
628
629
+ # ## Image name and tag sanitization
630
+
631
+ In order to comply with [the specification](https://docs.docker.com/engine/reference/commandline/tag/#extended-description),
632
+ the image name components may contain lowercase letters, digits and separators.
633
+ A separator is defined as a period, one or two underscores, or one or more
634
+ dashes. A name component may not start or end with a separator.
635
+
636
+ A tag name must be a valid ASCII chars sequences and may contain lowercase and
637
+ uppercase letters, digits, underscores, periods and dashes. A tag name may not
638
+ start with a period or a dash and may contain a maximum of 128 characters.
639
+
640
+ To ease the integration in your workflow, this action will automatically :
641
+
642
+ * Lowercase the image name
643
+ * Replace invalid chars sequences with `-` for tags
644
+
628
645
# ## Latest tag
629
646
630
647
` latest` tag is handled through the [`flavor` input](#flavor-input). It will be generated by default (`auto` mode) for:
You can’t perform that action at this time.
0 commit comments