From 81b8177f7013831542693d15384070f437b1dc0b Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 22 Aug 2024 10:56:25 -0300 Subject: [PATCH] build: fix goreleaser warning (#253) It needs the `version: 2` marker to validate the config properly. --- .goreleaser-docker.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.goreleaser-docker.yaml b/.goreleaser-docker.yaml index d6d5fe27..793d986b 100644 --- a/.goreleaser-docker.yaml +++ b/.goreleaser-docker.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: provider env: - GO111MODULE=on @@ -35,7 +36,7 @@ dockers: - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} - --label=org.opencontainers.image.revision={{ .FullCommit }} image_templates: - - '{{ .Env.DOCKER_IMAGE }}:latest-amd64' + - "{{ .Env.DOCKER_IMAGE }}:latest-amd64" - dockerfile: Dockerfile use: buildx goos: linux @@ -50,4 +51,4 @@ dockers: - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} - --label=org.opencontainers.image.revision={{ .FullCommit }} image_templates: - - '{{ .Env.DOCKER_IMAGE }}:latest-arm64' + - "{{ .Env.DOCKER_IMAGE }}:latest-arm64"