Skip to content

Commit

Permalink
Fix missing GoReleaser build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Apr 12, 2021
1 parent 5ba0542 commit 064b5c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ builds:
- <<: *build_defaults
flags:
- -buildmode=exe
- -installsuffix=cgo
- -trimpath
- -tags="osusergo netgo static_build"
id: linux-no-pie
goos:
- linux
Expand All @@ -53,6 +56,9 @@ builds:
- <<: *build_defaults
flags:
- -buildmode=exe
- -installsuffix=cgo
- -trimpath
- -tags="osusergo netgo static_build"
id: docker
goos:
- linux
Expand Down

0 comments on commit 064b5c7

Please sign in to comment.