Replace fixed docker image name with CI_REGISTRY_IMAGE envvar

This makes it easier to change the Docker registry
it is published to
This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-09 22:41:07 -04:00
parent 79acf44225
commit bffadc245c

View File

@ -42,9 +42,9 @@ release:
prerelease: auto
dockers:
- image_templates:
- "greenled/portainer-stack-utils:{{ .Major }}"
- "greenled/portainer-stack-utils:{{ .Major }}.{{ .Minor }}"
- "greenled/portainer-stack-utils:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}"
- "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}.{{ .Minor }}"
- "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
goos: linux
goarch: amd64
binaries: