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 7d3acdd commit edf0838Copy full SHA for edf0838
.github/workflows/release.yml
@@ -46,9 +46,7 @@ jobs:
46
47
- name: Build Linux binaries with older glibc
48
run: |
49
- # 使用 Ubuntu 16.04 (xenial) 容器构建 Linux 二进制文件
50
- # 这将确保兼容较老的 glibc 版本
51
- docker run --rm -v $(pwd):/src -w /src golang:1.20-xenial /bin/bash -c "
+ docker run --rm -v $(pwd):/src -w /src golang:1.23 /bin/bash -c "
52
# 构建 Linux (x86_64) 二进制文件,启用 CGO 并静态链接
53
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags \"-static\"' -o builds/tiny-requestbin-${{ env.TAG }}-linux-amd64 .
54
0 commit comments