fix(ci): staging deploy SSH host to internal IP for Docker runner #1891
Reference in New Issue
Block a user
Delete Branch "fix/staging-deploy-ssh-internal-ip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
CI deploy-staging job 跑在 ci-l2 标签的 Docker 容器 runner 上,容器内 127.0.0.1 指向容器自身,无法通过 SSH 连到宿主机 116。之前两次 develop 合并后 CI 都在 deploy-staging 步骤失败。
修复
127.0.0.1改为172.30.18.199(116 宿主机内网 IP,Docker 容器通过 bridge 网络可达)STAGING_SSH_HOST仍可覆盖默认值验证
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1891 已关闭或合并,对应的预览环境已被清理。