Skip to content

Commit edf0838

Browse files
committed
update release
1 parent 7d3acdd commit edf0838

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ jobs:
4646

4747
- name: Build Linux binaries with older glibc
4848
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 "
49+
docker run --rm -v $(pwd):/src -w /src golang:1.23 /bin/bash -c "
5250
# 构建 Linux (x86_64) 二进制文件,启用 CGO 并静态链接
5351
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags \"-static\"' -o builds/tiny-requestbin-${{ env.TAG }}-linux-amd64 .
5452

0 commit comments

Comments
 (0)