2 parents 1bde312 + bb7ae03 commit 5c828e1Copy full SHA for 5c828e1
1 file changed
.github/workflows/release.yml
@@ -46,7 +46,8 @@ jobs:
46
ext=""
47
if [ "${{ matrix.goos }}" = "windows" ]; then ext=".exe"; fi
48
mkdir -p dist
49
- GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \
+ CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \
50
+ -tags netgo \
51
-ldflags "-X github.com/matveynator/chicha-ip-proxy/pkg/version.Number=${VERSION}" \
52
-o "dist/chicha-ip-proxy-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}${ext}"
53
@@ -127,4 +128,3 @@ PY
127
128
files: upload/chicha-ip-proxy-*
129
env:
130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
0 commit comments