We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9543e2 commit 4c594e6Copy full SHA for 4c594e6
.github/workflows/release.yml
@@ -75,11 +75,10 @@ jobs:
75
76
- name: Build ${{ matrix.os }}-${{ matrix.arch }}
77
env:
78
- GOLDFLAGS: "-s -w"
79
GOARCH: ${{ matrix.arch }}
80
GOOS: ${{ matrix.os }}
81
run: |
82
- go build -o ${{ env.asset_build }}
+ CGO_ENABLED=0 go build -s -w --ldflags '-s -w -extldflags "-static"' --tags netgo -a -o ${{ env.asset_build }}
83
gzip --name --suffix ${{ env.asset_gzip_suffix }} ${{ env.asset_build }}
84
85
- name: Upload Release Asset
0 commit comments