Skip to content

Commit

Permalink
Add version info and static build to goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Mar 10, 2021
1 parent 7cc7690 commit 7fe7115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
builds:
- main: ./cmd/kubeletmein
binary: kubeletmein
ldflags:
- -extldflags '-static'
- -X github.com/4armed/kubeletmein/pkg/config.GitVersion={{.Version}}
env:
- CGO_ENABLED=0
goos:
Expand Down

0 comments on commit 7fe7115

Please sign in to comment.