fix: avoid Docker Hub timeout in Gitea builds
Staging Backend Quality Gate (push the reviewed main SHA to staging to auto-deploy) / validate (push) Failing after 9m1s
Staging Backend Quality Gate (push the reviewed main SHA to staging to auto-deploy) / publish-and-deploy (push) Has been skipped

This commit is contained in:
linmeng
2026-07-28 09:37:32 +08:00
parent f711e77849
commit 7a36169f5d
4 changed files with 21 additions and 2 deletions
+3
View File
@@ -12,10 +12,13 @@ def test_railway_services_use_the_product_frontend_and_dynamic_ports() -> None:
assert "--hostname 0.0.0.0" in web and "${PORT:-3000}" in web
assert "next-env.d.ts" not in web
assert "FROM registry.cn-hangzhou.aliyuncs.com/library/python:3.12-slim" in api
assert "COPY SKILL.md mcp_server.py" in api
assert "--host 0.0.0.0" in api and "${PORT:-5200}" in api
assert "http.server" not in api
assert "FROM registry.cn-hangzhou.aliyuncs.com/library/node:22-alpine" in web
def test_web_image_copies_postcss_config_before_building_frontend() -> None:
web = (ROOT / "deploy" / "railway-web.Dockerfile").read_text(encoding="utf-8")