From dee11a7f4484b751564af0704f2e295ad66484d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=9C=8D=E5=8A=A1=E5=99=A8=E8=BF=90?= =?UTF-8?q?=E7=BB=B4?= Date: Mon, 28 Sep 2026 08:06:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E6=AD=A3=20acr-cleanup=20s?= =?UTF-8?q?taging=20=E9=BB=98=E8=AE=A4=E4=B8=BB=E6=9C=BA=E4=B8=BA116(stagi?= =?UTF-8?q?ng=E6=9C=BA):22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit staging 默认主机此前误写为生产机 47.98.113.167:22222, 导致该 workflow 获取的'staging运行镜像白名单'实际取自生产机。 按当前架构 staging→116.62.226.203(22)、prod→47.98.113.167(22222) 修正。 该步骤仅用于镜像清理白名单、不部署容器。 --- .gitea/workflows/acr-cleanup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/acr-cleanup.yml b/.gitea/workflows/acr-cleanup.yml index d752e4531..538ce9198 100644 --- a/.gitea/workflows/acr-cleanup.yml +++ b/.gitea/workflows/acr-cleanup.yml @@ -55,8 +55,8 @@ jobs: echo "$STAGING_SSH_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - staging_host="${STAGING_SSH_HOST:-47.98.113.167}" - staging_port="${STAGING_SSH_PORT:-22222}" + staging_host="${STAGING_SSH_HOST:-116.62.226.203}" + staging_port="${STAGING_SSH_PORT:-22}" ssh-keyscan -p "$staging_port" -H "$staging_host" >> ~/.ssh/known_hosts 2>/dev/null -- 2.54.0