Skip to content

Commit

Permalink
Make goreleaser build the binaries staticly
Browse files Browse the repository at this point in the history
  • Loading branch information
giodamelio committed Apr 25, 2023
1 parent ba3019e commit ef6c2f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/gomod2nix-template
result
.env
dist/
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -extldflags="-static"

0 comments on commit ef6c2f1

Please sign in to comment.