1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: tag_templates for docker

This commit is contained in:
Carlos Alexandro Becker 2018-01-18 17:41:56 -02:00 committed by Carlos Alexandro Becker
parent 92231bc930
commit 60a4837ac4

View File

@ -52,9 +52,10 @@ dockers:
dockerfile: Dockerfile
# Template of the docker tag. Defaults to `{{ .Version }}`. Other allowed
# fields are `.Tag` and `.Env.VARIABLE_NAME`.
tag_template: "{{ .Tag }}"
# Also tag and push myuser/myimage:latest.
latest: true
tag_templates:
- "{{ .Tag }}"
- "{{ .Tag }}-{{ .Env.GO_VERSION }}"
- latest
# If your Dockerfile copies files other than the binary itself,
# you should list them here as well.
extra_files: