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:
parent
92231bc930
commit
60a4837ac4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user