统一 Docker Chromium 构建缓存与主分支发布流程

- 使用 node:latest 作为 Docker 构建与运行时基础镜像,移除最终镜像中的 apt 更新和 Debian Chromium 依赖。

- 在 GitHub Actions 中按目标架构缓存并校验 Playwright driver、Chromium 与 headless shell runtime,Docker 和桌面端复用一致的版本校验逻辑。

- 让桌面端安装包工作流同时支持 main 与 codex/desktop-packaging 分支,保持 Linux 原生架构构建并避免 QEMU。

- 明确 main 发布 main、latest 标签,功能分支发布 desktop-packaging、alpha 标签。

- 同步 Compose 默认端口、Node.js 路径、健康检查及部署文档。
This commit is contained in:
Christ committed 2026-08-12 22:30:45 +08:00
1 parent 2df324647a
commit 542241d241
12 files changed
+150 -72

No files matched your search

+3 -3
View File
@@ -128,7 +128,7 @@ services:
- app_mysql_data:/app/data
- app_mysql_browser_data:/app/browser_data
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:59188/health >/dev/null"]
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:59188/health',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"]
interval: 5s
timeout: 5s
retries: 30
@@ -150,7 +150,7 @@ services:
- app_sqlite_data:/app/data
- app_sqlite_browser_data:/app/browser_data
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:59188/health >/dev/null"]
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:59188/health',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"]
interval: 5s
timeout: 5s
retries: 30
@@ -172,7 +172,7 @@ services:
- app_postgres_data:/app/data
- app_postgres_browser_data:/app/browser_data
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:59188/health >/dev/null"]
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:59188/health',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"]
interval: 5s
timeout: 5s
retries: 30