diff --git a/.goreleaser.yml b/.goreleaser.yml index 2416f05..86cf259 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,6 +12,9 @@ builds: main: ./cmd/travelgrunt/main.go ldflags: - -X main.appVersion={{.Env.RELEASE_VERSION}} + tags: + - netgo + - osusergo brews: - name: travelgrunt diff --git a/Makefile b/Makefile index a3dc7b3..a872e7c 100644 --- a/Makefile +++ b/Makefile @@ -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