Skip to content

Commit

Permalink
Merge pull request #26 from ivanilves/GH-24
Browse files Browse the repository at this point in the history
chore(GH-24): make binary builds really static
  • Loading branch information
ivanilves authored Nov 3, 2022
2 parents 255c868 + 2e0fd71 commit 76bdfb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ builds:
main: ./cmd/travelgrunt/main.go
ldflags:
- -X main.appVersion={{.Env.RELEASE_VERSION}}
tags:
- netgo
- osusergo

brews:
- name: travelgrunt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dep:
go mod vendor

build:
cd ${BUILD_PATH} && go build
cd ${BUILD_PATH} && go build -tags netgo,osusergo

clean:
git clean -fdx
Expand Down

0 comments on commit 76bdfb0

Please sign in to comment.