Skip to content

Commit

Permalink
Describe image name format for private registries
Browse files Browse the repository at this point in the history
Configuring the plugin for private registries involves including the
registry name within the image name. Add a note to README.md.
  • Loading branch information
Uwe Grawert authored and ketan committed Oct 9, 2019
1 parent 63879f8 commit fa571e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fa571e8

Please sign in to comment.