f31858a008
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 26h13m2s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 26h15m11s
CI/CD Pipeline / Frontend Lint (push) Failing after 26h16m14s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 26h16m14s
- 新增第二个参数 BUILD_ENV (staging|production),默认 production - staging 构建使用 nginx-staging.conf (proxy_pass → xiaoxia-api-staging) - production 构建使用 nginx-production.conf (proxy_pass → xiaoxia-api-production) - CI deploy-staging 调用时传入 staging 参数 修复: web 容器在 staging 环境因 nginx upstream 指向 xiaoxia-api-production 导致 host not found 崩溃重启的问题