Skip to content

Commit

Permalink
specify target GOOS and GOARCH explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
proelbtn committed Oct 6, 2021
1 parent e487521 commit 6111c6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ builds:
- -X main.Revision={{.Commit}}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements: {}
Expand Down

0 comments on commit 6111c6f

Please sign in to comment.