Skip to content

Commit

Permalink
Completely static binary
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanbanken committed Apr 20, 2021
1 parent 89491d4 commit ecd106f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
builds:
- id: gitops-sync
ldflags:
- '-s -w -extldflags "-static"'
env:
- CGO_ENABLED=0

0 comments on commit ecd106f

Please sign in to comment.