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 prerelease: auto
dockers: dockers:
- image_templates: - image_templates:
- "greenled/portainer-stack-utils:{{ .Major }}" - "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}"
- "greenled/portainer-stack-utils:{{ .Major }}.{{ .Minor }}" - "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}.{{ .Minor }}"
- "greenled/portainer-stack-utils:{{ .Major }}.{{ .Minor }}.{{ .Patch }}" - "{{ .Env.CI_REGISTRY_IMAGE }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
goos: linux goos: linux
goarch: amd64 goarch: amd64
binaries: binaries: