`docker.yml` declared `packages: write` at workflow level, so every job in the
file held a token that can overwrite `ghcr.io/debpalash/voicestudio:stable` —
including the release-ref validation and source-commit resolution steps, which
only read git. `GITHUB_TOKEN` with `packages: write` is the highest-value
credential the repository hands out, and the other publishers already scope it
per job: `electron-release.yml` keeps `contents: read` at the top and opts into
`contents: write` on the release job, and `security.yml` has uploading jobs opt
into `security-events`.
Keep `contents: read` workflow-wide and grant `packages: write` on the three jobs
that actually push (`build-and-push`, `build-and-push-rocm`,
`build-and-push-cuda-arm64`), plus a regression test so a future job cannot pick
the token up implicitly.
Verified locally: `tests/test_docker_workflow.py` gains
`test_registry_write_is_granted_to_publishing_jobs_only`, which fails on `main`
("docker.yml must not grant packages: write workflow-wide") and passes with the
change. The three `test_rocm_base_follows_the_checked_out_torch_pin` cases fail
on this machine both before and after the change: they shell out to `bash`, and
the only `bash` here is a WSL distribution that cannot attach its disk
(`ERROR_PATH_NOT_FOUND`).
- A release older than deploy/torch-constraints.txt builds on the torch
2.8.0 ROCm base the workflow always used before it followed the pin,
instead of failing. The selection step is tested for 2.10, 2.8, a missing
file and a file without an exact pin.
- The torchaudio I/O gate follows aliases, from-imports and qualified
receivers (audio_io.torchaudio.save) and now also scans backend/; plain
references such as test spies stay allowed.
Restore saved-voice OmniVoice speech, add native phone voice models and connect the public Gallery. Harden mobile first-use flows and consent, and skip runtime builds for documentation/test-only changes while retaining lightweight Docker Hub documentation publishing. Include the CLA-signed storage and contact test fixes from #3706 and #3707. Fixes#3671.
Adds a build-and-push-cuda-arm64 job on ubuntu-24.04-arm that builds
deploy/Dockerfile for linux/arm64 from a new cuda-arm64-base stage
(Ubuntu 24.04 + torch 2.8.0+cu129, torchaudio 2.8.0, torchvision 0.23.0
from the cu129 index; the aarch64 torch wheel bundles CUDA and cuDNN 9).
Tags mirror the CUDA job with a -cuda-arm64 suffix. The amd64 CUDA and
ROCm jobs and tags are unchanged; BuildKit skips the new stage for them.
Beta follows vX.Y.Z-beta.N prereleases cut from main and rolls onto the next
stable release; Stable stays the default. Betas are GitHub prereleases (never
latest), ship an electron-beta-* feed and :beta Docker tags, and skip the Snap
Store and Tauri sunset feeds.