Skip to content

Commit

Permalink
Add CGO_ENABLED to binary build
Browse files Browse the repository at this point in the history
  • Loading branch information
eversC committed Nov 13, 2019
1 parent 890cd6e commit e6bacbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/ovotech/cloud-key-rotator/pkg/build.Version={{.Version}}
Expand Down

0 comments on commit e6bacbf

Please sign in to comment.