Skip to content

Commit

Permalink
build: fix goreleaser warning (#253)
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 authored Aug 22, 2024
1 parent 7e2a151 commit 81b8177
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 81b8177

Please sign in to comment.