From 0bb94ec74c896f401d6d7a46ad3e16b664095f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=81=B5=E5=BA=94?= Date: Mon, 14 Sep 2026 14:53:46 +0800 Subject: [PATCH] fix(ci): staging deploy SSH host to internal IP for Docker runner ci-l2 runner runs in Docker containers, 127.0.0.1 inside container refers to the container itself, not the host. Use 172.30.18.199 (host internal IP) which is reachable from Docker containers via the Docker bridge network. --- .gitea/workflows/ci-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 9ae5b1fba..191c2b6c8 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1256,7 +1256,7 @@ jobs: set -eux # CI runner (act_runner) 部署在 116 staging 本机(116.62.226.203 公网 22 未开放), # 默认走 127.0.0.1:22 本机 SSH,避免跨机网络依赖;可通过 secrets 覆盖。 - staging_host="${STAGING_SSH_HOST:-127.0.0.1}" + staging_host="${STAGING_SSH_HOST:-172.30.18.199}" staging_user="${STAGING_SSH_USER:-root}" staging_port="${STAGING_SSH_PORT:-22}" echo "Host: $staging_host"