Skip to content

Commit

Permalink
fix goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmangos committed Nov 12, 2023
1 parent b78855f commit 1d48666
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ build:
- windows
goarch:
- amd64
- 386
- "386"
- arm
- arm64
ldflags:
- -s -w -X github.com/bigmangos/watchtower/internal/meta.Version={{.Version}}
archives:
- name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "arm" }}armhf
{{- else if eq .Arch "arm64" }}arm64v8
{{- else if eq .Arch "darwin" }}macOS
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format: tar.gz
replacements:
arm: armhf
arm64: arm64v8
amd64: amd64
386: 386
darwin: macOS
linux: linux
format_overrides:
- goos: windows
format: zip
Expand All @@ -44,7 +44,7 @@ dockers:
build_flag_templates:
- "--platform=linux/386"
goos: linux
goarch: 386
goarch: "386"
goarm: ''
dockerfile: dockerfiles/Dockerfile
image_templates:
Expand Down

0 comments on commit 1d48666

Please sign in to comment.