Skip to content

Commit

Permalink
try: disable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitcharolia committed Jul 20, 2023
1 parent dd74a8f commit 26c0dc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ before:
builds:
- main: ./main.go
binary: goenv
ldflags: -linkmode external
ldflags:
- -extldflags="-static"
env:
- CGO_ENABLED=1
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand Down

0 comments on commit 26c0dc5

Please sign in to comment.