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 7226277 commit cd99269Copy full SHA for cd99269
.github/workflows/linux-release.yml
@@ -30,7 +30,7 @@ jobs:
30
- name: Build Backend
31
run: |
32
go mod download
33
- go build -ldflags "-s -w -X 'gin-template/common.Version=$(git describe --tags)'" -o gin-template
+ go build -ldflags "-s -w -X 'gin-template/common.Version=$(git describe --tags)' -extldflags '-static'" -o gin-template
34
- name: Release
35
uses: softprops/action-gh-release@v1
36
if: startsWith(github.ref, 'refs/tags/')
0 commit comments