From 60a4837ac49f449fa019c24f9711ffd705f50240 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 18 Jan 2018 17:41:56 -0200 Subject: [PATCH] docs: tag_templates for docker --- docs/130-docker.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/130-docker.md b/docs/130-docker.md index ab85a4aba..73662b364 100644 --- a/docs/130-docker.md +++ b/docs/130-docker.md @@ -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: