Docker Community Forums

Share and learn in the Docker community.

Error in "Set up Automated builds" docs (multiple tags from a single build)

build
dockerhub

#1

According to the docs (Set up Automated builds: Create multiple Docker tags from a single build), build rules can be configured to create multiple Docker tags from a single build:

For example if you want to update the image tagged with latest at the same time as you a tag an image for a specific version, you could enter {sourceref},latest in the Docker Tag field.

However, actually using the Docker tag {sourceref},latest results in the following error message:

Invalid ‘name’ field: Illegal Docker tag character ‘,’ at position 12. Valid values are ^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$

Here’s a screenshot:


(Ming He) #2

Thanks for reporting. Will take a look.