统一 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

+6 -4
View File
@@ -106,10 +106,12 @@ packages explicitly bind the server to `127.0.0.1:59188` and keep the server and
architecture, installs `ydisks-xianyu-helper.service`, and keeps data in `/var/lib/ydisks-xianyu-helper`.
All desktop packages contain the matching Playwright driver, Chromium and headless shell. Do not add a
Debian Chromium package or download a second browser during installation. The desktop CI workflow runs
only on `codex/desktop-packaging`; Linux amd64 and arm64 jobs use native GitHub-hosted runners and must
not use QEMU or cross-architecture emulation. Docker publishing also builds each architecture on its native
runner and publishes `latest` only from `main`, `alpha` only from `codex/desktop-packaging`.
Debian Chromium package or download a second browser during installation. The Docker final image uses
`node:latest`, copies the cached runtime prepared by CI, and does not run `apt-get update`. The desktop CI workflow
runs on `main` and `codex/desktop-packaging`; Linux amd64 and arm64 jobs use native GitHub-hosted runners and
must not use QEMU or cross-architecture emulation. Docker publishing also builds each architecture on its native
runner and publishes `main` and `latest` from `main`, `desktop-packaging` and `alpha` from
`codex/desktop-packaging`.
The tray state machine is shared by Windows and macOS: it serializes actions, shows transition states,
waits for a healthy `/health` response after start/restart, waits for the endpoint to become unreachable