Skip to content

Commit

Permalink
build: fix goreleaser warning
Browse files Browse the repository at this point in the history
It needs the `version: 2` marker to validate the config properly.
  • Loading branch information
caarlos0 committed Aug 22, 2024
1 parent 58c661b commit 6764749
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: provider
env:
- GO111MODULE=on
Expand Down Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 6764749

Please sign in to comment.