Skip to content

Commit

Permalink
fix: build binary with static linked dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
4ch3los committed Oct 1, 2024
1 parent 1339471 commit d9661dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
GOARCHES=("amd64" "arm64")
for arch in "${GOARCHES[@]}"; do
mkdir -p release/linux_$arch/
GOARCH=$arch GOOS=linux go build -o release/linux_$arch/kubermatic-argocd-bridge ./cmd
CGO_ENABLED=0 GOARCH=$arch GOOS=linux go build -o release/linux_$arch/kubermatic-argocd-bridge ./cmd
gzip -c release/linux_$arch/kubermatic-argocd-bridge > release/kubermatic-argocd-bridge_linux_$arch.gz
done
sha256sum release/*.gz > release/checksums.txt
Expand Down

0 comments on commit d9661dc

Please sign in to comment.