From 619e919fa0f1e94fc04036eb9c8fe35abb9ae4fd Mon Sep 17 00:00:00 2001 From: mapleafgo Date: Tue, 7 Apr 2026 18:07:29 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=80=9F=E5=BA=A6=EF=BC=8C=E6=B7=BB=E5=8A=A0=20Go=20=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=92=8C=20APT=20=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 设置 GOPROXY 为 goproxy.cn 加速依赖下载 - 替换 Debian 源为阿里云镜像加速 apt 安装 Co-authored-by: Qwen-Coder --- .woodpecker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 188f09f..b834120 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,7 +11,10 @@ steps: # 构建多架构二进制文件 build: image: docker.m.daocloud.io/golang:1.24-trixie + environment: + GOPROXY: https://goproxy.cn commands: + - sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list.d/debian.sources - apt-get update && apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu - mkdir -p release # 构建 amd64 (native)