From 426169054ec0aae66c88e3b7c243e49c029b94b9 Mon Sep 17 00:00:00 2001 From: ops Date: Wed, 21 Oct 2026 01:36:56 +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/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 01f8c5d..42960ec 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -22,7 +22,10 @@ jobs: steps: # docker:24 基于 alpine,默认无 git/curl;先装再手动 clone 本仓库 - name: Install 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.com 拉取 actions/checkout,改为直接 clone 本仓库 - name: Checkout (manual, internal Gitea)