From 570ea51ef978b17f154da6fa06f34a685b330423 Mon Sep 17 00:00:00 2001 From: Herlon Aguiar Date: Sat, 4 Dec 2021 22:34:52 +0100 Subject: [PATCH] handle different docker tags --- .goreleaser.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d285391..340c7fe 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,4 +24,7 @@ changelog: skip: true dockers: - image_templates: - - herlon214/sonarqube-pr-issues \ No newline at end of file + - "herlon214/sonarqube-pr-issues:latest" + - "herlon214/sonarqube-pr-issues:{{ .Tag }}" + - "herlon214/sonarqube-pr-issues:{{ .Tag }}-{{ .Env.GO_VERSION }}" + - "herlon214/sonarqube-pr-issues:v{{ .Major }}" \ No newline at end of file