From ef878355c9802b4532fb5224401e7f7d75fd3491 Mon Sep 17 00:00:00 2001 From: Robert Pajak Date: Sat, 13 Jun 2020 13:08:48 +0000 Subject: [PATCH] Refine container image tagging --- .goreleaser.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e0726e0..26d578c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,9 +19,9 @@ dockers: - "{{ .ProjectName }}" image_templates: - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:latest" - - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}" - - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}" - - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}" + - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}" + - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}" + - "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}" build_flag_templates: - "--pull" - "--label=org.opencontainers.image.created={{.Date}}"