From 0eb3ba9ff8650918ac9738b9f3fe879df2488784 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Tue, 6 Jul 2021 18:52:38 +0200 Subject: [PATCH] ISSUE-382 (#383) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 505e465..b5ae362 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: GOARCH: ${{ matrix.GOARCH }} run: | go version - go build -o ./artifacts/transfersh-${GITHUB_REF##*/}-${{ matrix.suffix }} + go build -tags netgo -ldflags '-a -s -w -extldflags "-static"' -o ./artifacts/transfersh-${GITHUB_REF##*/}-${{ matrix.suffix }} - uses: actions/upload-artifact@v2 name: Upload artifacts with: