From 6764749a3ba38b93a1b22990a036ff7ef4059926 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 21 Aug 2024 22:40:55 -0300 Subject: [PATCH] build: fix goreleaser warning 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"