Skip to content

Commit

Permalink
Ensure building static binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Dec 28, 2018
1 parent e795210 commit 3229dc2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ project_name: dkron
builds:
- main: ./builtin/bins/dkron-executor-http/
binary: dkron-executor-http
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand All @@ -10,9 +12,13 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w

- main: ./builtin/bins/dkron-executor-shell/
binary: dkron-executor-shell
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand All @@ -21,9 +27,13 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w

- main: ./builtin/bins/dkron-processor-files/
binary: dkron-processor-files
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand All @@ -32,9 +42,13 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w

- main: ./builtin/bins/dkron-processor-log/
binary: dkron-processor-log
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand All @@ -43,9 +57,13 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w

- main: ./builtin/bins/dkron-processor-syslog/
binary: dkron-processor-syslog
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand All @@ -54,9 +72,13 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w

- main: .
binary: dkron
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
Expand Down

0 comments on commit 3229dc2

Please sign in to comment.