File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ jobs:
5757 run : |
5858 cd src
5959
60- # Linux AMD64 (启用Green Tea GC)
61- GOOS=linux GOARCH=amd64 GOEXPERIMENT=greenteagc go build -ldflags="-s -w" -o ../build/hubproxy/hubproxy-linux-amd64 .
60+ # Linux AMD64
61+ GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ../build/hubproxy/hubproxy-linux-amd64 .
6262
63- # Linux ARM64 (启用Green Tea GC)
64- GOOS=linux GOARCH=arm64 GOEXPERIMENT=greenteagc go build -ldflags="-s -w" -o ../build/hubproxy/hubproxy-linux-arm64 .
63+ # Linux ARM64
64+ GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o ../build/hubproxy/hubproxy-linux-arm64 .
6565
6666 - name : 复制配置文件
6767 run : |
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN go mod download
88
99COPY src/ .
1010
11- RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GOEXPERIMENT=greenteagc go build -ldflags="-s -w" -trimpath -o hubproxy .
11+ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-s -w" -trimpath -o hubproxy .
1212
1313FROM alpine
1414
You can’t perform that action at this time.
0 commit comments