From af29948b200d03f0053680917f1aa39d62dd89b8 Mon Sep 17 00:00:00 2001 From: Ming He Date: Thu, 24 Jan 2019 19:11:21 -0800 Subject: [PATCH] Update hub auto build doc Hub backend dose not support `Create multiple Docker tags from a single build`. Take it off from the docs. Already received several issues asking about why it is not working according to the doc. --- docker-hub/builds/index.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docker-hub/builds/index.md b/docker-hub/builds/index.md index e97886ae99..e773c20e8e 100644 --- a/docker-hub/builds/index.md +++ b/docker-hub/builds/index.md @@ -292,25 +292,6 @@ You could also use capture groups to build and label images that come from vario `/(alice|bob)-v([0-9.]+)/` --> -### Create multiple Docker tags from a single build - -By default, each build rule builds a source branch or tag into a Docker image, -and then tags that image with a single tag. However, you can also create several -tagged Docker images from a single build rule. - -To create multiple tags from a single build rule, enter a comma-separated list -of tags in the **Docker tag** field in the build rule. If an image with that tag -already exists, Docker Hub overwrites the image when the build completes -successfully. If you have automated tests configured, the build must pass these -tests as well before the image is overwritten. You can use both regex references -and plain text values in this field simultaneously. - -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. - -If you need to update a tag _in another repository_, use [a post_build hook](advanced.md#push-to-multiple-repos) to push to a second repository. - ## Build repositories with linked private submodules Docker Hub sets up a deploy key in your source code repository that allows it