From 99e8de351251020b7d4d5f16cad60b2e17eca4af Mon Sep 17 00:00:00 2001 From: cqh963852 Date: Thu, 8 Oct 2026 19:33:10 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20apk=20=E6=8D=A2=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=E8=A3=85=20buildah=E2=80=94?= =?UTF-8?q?=E2=80=94runner=20=E5=9C=A8=E9=98=BF=E9=87=8C=E4=BA=91=EF=BC=8C?= =?UTF-8?q?dl-cdn=20=E7=9B=B4=E8=BF=9E=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-tutorial.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-tutorial.yml b/.gitea/workflows/build-tutorial.yml index 71cdd6a..cb786ee 100644 --- a/.gitea/workflows/build-tutorial.yml +++ b/.gitea/workflows/build-tutorial.yml @@ -27,7 +27,11 @@ jobs: ls apps/tutorial/Dockerfile - name: 装 buildah(runner 无 docker;buildah 无 daemon 即可构建) - run: command -v buildah >/dev/null || apk add --no-cache buildah + run: | + command -v buildah >/dev/null && exit 0 + # 服务器在阿里云——apk 走阿里镜像源(dl-cdn 直连极慢) + sed -i 's#https://dl-cdn.alpinelinux.org#https://mirrors.aliyun.com#g' /etc/apk/repositories + apk add --no-cache buildah - name: buildah 登录阿里云镜像仓(基座为私有 idealjs/node) env: