From f7c59b6b443220deacb79a25ca5ae645bed23b7a Mon Sep 17 00:00:00 2001 From: CI Bot Date: Sun, 19 Jul 2026 20:39:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8DACR=20cleanup?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E5=91=BD=E4=BB=A4=E8=A1=8C=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit acr_cleanup.py通过环境变量(ACR_REGISTRY/ACR_NAMESPACE/ACR_USERNAME/ACR_PASSWORD) 读取配置,不接受--registry/--namespace/--username/--password参数。 CI重构时错误地把这些当作命令行参数传入,导致job失败。 移除错误参数,保留正确的--keep/--pr-days/--execute参数。 --- .gitea/workflows/ci-pipeline.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index b32bc8c3e..6d20a27c7 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -931,10 +931,6 @@ jobs: run: | set -eu python3 scripts/ci/acr_cleanup.py \ - --registry "$ACR_REGISTRY" \ - --namespace "$ACR_NAMESPACE" \ - --username "$ACR_USERNAME" \ - --password "$ACR_PASSWORD" \ --keep 20 \ --pr-days 7 \ --execute