From f9ea615e97e2d6b4c2134b0d9194fe24eb0d71f6 Mon Sep 17 00:00:00 2001 From: ops Date: Wed, 21 Oct 2026 01:36:55 +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/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index eb7a6e5..fe3225c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -23,7 +23,10 @@ jobs: image: docker:24 steps: - name: Install git (alpine) - run: apk add --no-cache git + 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 # 内网 Gitea 无法访问 github.com 拉取 actions/checkout,改为直接 clone 本仓库 - name: Checkout (manual, internal Gitea)