Skip to content

Commit 02f97bc

Browse files
committed
ci: force static build
1 parent 6f769af commit 02f97bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ builds:
2828
- CGO_ENABLED=0
2929
ldflags:
3030
- -s -w
31+
- -extldflags=-static
3132
- -X github.com/macropower/kat/pkg/version.Version={{.Version}}
3233
- -X github.com/macropower/kat/pkg/version.Branch={{.Branch}}
3334
- -X github.com/macropower/kat/pkg/version.BuildUser={{.Env.USER}}@{{.Env.HOSTNAME}}

0 commit comments

Comments
 (0)