feat(dev-cicd): add docker compose pull scope + Docker Hub timeout lesson

This commit is contained in:
dongliang
2026-04-06 11:49:18 +09:30
parent d564e6dbf9
commit 0e24828a6d

View File

@@ -298,7 +298,8 @@ Pipeline 失败
│ ├── "unauthorized" / "denied" → docker login 凭据过期 或 ACR namespace 缺失 │ ├── "unauthorized" / "denied" → docker login 凭据过期 或 ACR namespace 缺失
│ ├── "no space left" → docker system prune │ ├── "no space left" → docker system prune
│ ├── "transferring context: XXX MB" 很慢 → 缺少 .dockerignorenode_modules 被传入) │ ├── "transferring context: XXX MB" 很慢 → 缺少 .dockerignorenode_modules 被传入)
── build 成功但 push denied → 镜像路径缺 namespaceregistry/namespace/image ── build 成功但 push denied → 镜像路径缺 namespaceregistry/namespace/image
│ └── docker compose pull 超时 → 不带参数会拉 Docker Hub 上的 postgres/redis只拉业务镜像
└── 部署失败 └── 部署失败
├── "Connection refused" (SSH) → 目标服务器 SSH 端口/密钥 ├── "Connection refused" (SSH) → 目标服务器 SSH 端口/密钥
@@ -319,6 +320,7 @@ Pipeline 失败
| `No profiles for bundle id` | 无 distribution profile | 在 Apple Developer 创建并安装 | | `No profiles for bundle id` | 无 distribution profile | 在 Apple Developer 创建并安装 |
| `transferring context: 768MB` | 缺 .dockerignore | 创建 .dockerignore 排除 node_modules/.next/.git | | `transferring context: 768MB` | 缺 .dockerignore | 创建 .dockerignore 排除 node_modules/.next/.git |
| `denied: requested access` (push) | ACR 镜像路径缺 namespace | registry/**namespace**/image | | `denied: requested access` (push) | ACR 镜像路径缺 namespace | registry/**namespace**/image |
| `docker compose pull` 超时 | 拉了 Docker Hub 的 postgres/redis | `docker compose pull gateway web` 只拉业务镜像 |
| `missing icon file 120x120` | 无 App Icon asset | 创建 Assets.xcassets + AppIcon | | `missing icon file 120x120` | 无 App Icon asset | 创建 Assets.xcassets + AppIcon |
| `UIInterfaceOrientation` iPad | 缺 iPad 方向声明 | 四方向 + `UIRequiresFullScreen` | | `UIInterfaceOrientation` iPad | 缺 iPad 方向声明 | 四方向 + `UIRequiresFullScreen` |