mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Adds a GitHub Actions workflow (docker-publish.yml) that builds the webspeak3 image and pushes it to Docker Hub as moepchi/webspeak3:latest plus a matching version tag whenever a GitHub Release is published (or manually via workflow_dispatch). Uses GHA layer caching so the Rust connector build doesn't redo work on every release. Also hardens the Dockerfile's web-builder stage against a long-standing npm bug (npm/cli#4828) where `npm ci` intermittently fails to install Vite 8's platform-specific Rolldown binding without a non-zero exit code, surfacing later as a confusing vite build MODULE_NOT_FOUND. Now verified and self-healed (rm + npm install) before the real build runs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>