From fa571e84e3831be1c7d03dc07b628a2ebba65dca Mon Sep 17 00:00:00 2001 From: Uwe Grawert Date: Wed, 9 Oct 2019 10:26:01 +0200 Subject: [PATCH] Describe image name format for private registries Configuring the plugin for private registries involves including the registry name within the image name. Add a note to README.md. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0cbcf13b..2229bcc7 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ If `RegistryType` is `other` 3. Configure the build specific artifact details. - Optionally specify the `Image` and `Tag`. Usually, the `Tag` can be an environment variable that changes for every build. For example, the `GO_PIPELINE_LABEL` can be used to publish a versioned docker image. - Optionally specify the `BuildFile`. Specify a json file name. The format of the file should be `{"image": "name", "tag": "tag pattern"}`. The `BuildFile` option can be used if the `Tag` option cannot be specified for the tag pattern you want to use. The generation of this json file must be handled within the GoCD job. + - A private registry has to be part of the image name, like `RegistryURL/Image`. ![](images/build_and_publish_image_artifacts.png)