From b9217d9a2b93db639c30f42828181c59ebe9618c Mon Sep 17 00:00:00 2001 From: ops Date: Wed, 21 Oct 2026 01:36:01 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20apk=20=E6=BA=90=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E8=B5=B0=20aliyun=EF=BC=88=E8=A7=84=E9=81=BF=20dl-cdn=20?= =?UTF-8?q?=E6=97=B6=E6=AE=B5=E6=80=A7=E8=A2=AB=E6=8B=A6=E5=8D=A1=2060s?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index baecf1d..7228bb3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,7 +25,10 @@ jobs: options: --network infra-infra-net steps: - name: 安装 git / curl(alpine) - run: apk add --no-cache git curl + run: | + # 统一走 aliyun 源:dl-cdn 时段性被拦会卡满 60s×2(2026-10-20 事故) + sed -i 's#dl-cdn.alpinelinux.org#mirrors.aliyun.com#g' /etc/apk/repositories + apk add --no-cache git curl # 内网 Gitea 无法访问 GitHub 拉 actions/checkout,手动 clone 本仓库 - name: 拉取源码(内网无 GitHub,手动 clone 本仓库)