Skip to content

Commit

Permalink
Release statically linked binaries
Browse files Browse the repository at this point in the history
goreleaser docker image is based on Alpine so when we build dynamically
linked binary (by default) it's built against musl that most of the
linux systems don't have. Since goreleaser doesn't provide any other
docker image we build static binaries.
  • Loading branch information
dzeban committed Sep 21, 2021
1 parent 7b6973f commit 0cc9d3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
archives:
- format: binary

builds:
- env:
- CGO_ENABLED=0

0 comments on commit 0cc9d3f

Please sign in to comment.