Skip to content

Commit

Permalink
fix: goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Jan 16, 2024
1 parent 43113b4 commit f5cc40a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ dockers:
- use: buildx
goos: linux
goarch: amd64
dockerfile: Dockerfile.goreleaser
dockerfile: Dockerfile
image_templates:
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64
build_flag_templates:
- "--target=goreleaser"
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
Expand All @@ -58,10 +59,11 @@ dockers:
- use: buildx
goos: linux
goarch: arm64
dockerfile: Dockerfile.goreleaser
dockerfile: Dockerfile
image_templates:
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64
build_flag_templates:
- "--target=goreleaser"
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
Expand All @@ -73,10 +75,11 @@ dockers:
goos: linux
goarch: arm
goarm: "7"
dockerfile: Dockerfile.goreleaser
dockerfile: Dockerfile
image_templates:
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7
build_flag_templates:
- "--target=goreleaser"
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
Expand All @@ -95,7 +98,7 @@ signs:
- cmd: cosign
stdin: "{{ .Env.COSIGN_PASSWORD }}"
args:
["sign-blob", "--yes", "--key=cosign.key", "--output-signature=${signature}", "${artifact}"]
["sign-blob", "--yes", "--key=cosign.key", "--output=${signature}", "${artifact}"]
artifacts: all
docker_signs:
- artifacts: all
Expand Down

0 comments on commit f5cc40a

Please sign in to comment.