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 20b70d0 commit 57c67feCopy full SHA for 57c67fe
.github/workflows/gorelease.yml
@@ -8,7 +8,7 @@ on:
8
9
jobs:
10
goreleaser:
11
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
12
steps:
13
-
14
name: Checkout
.goreleaser.yml
@@ -25,12 +25,17 @@ builds:
25
ldflags: "-s -w -X 'github.com/chainreactors/spray/cmd.ver=={{ .Tag }}'"
26
flags:
27
- -trimpath
28
- - -tags=forceposix
29
asmflags:
30
- all=-trimpath={{.Env.GOPATH}}
31
gcflags:
32
33
no_unique_dist_dir: true
+ env:
34
+ - CGO_ENABLED=0
35
+ tags:
36
+ - forceposix
37
+ - osusergo
38
+ - netgo
39
40
upx:
41
0 commit comments