mirror of
https://github.com/coder/code-server.git
synced 2026-12-06 21:33:54 +08:00
GitHub grants package write per repository, so any workflow on any branch here could overwrite ghcr.io/coder/code-server, including latest and version tags. The docker job now pushes the GHCR copy to code-server-staging (Docker Hub is unchanged), signs one release attestation stating the version, the tag's commit and each image's public GHCR tags (from the same bake file), and dispatches coder/ghcr-publisher with a coder-ghcr-dispatch token. The publisher verifies the release and the attestation, then copies each image. Version tags never move; rolling tags move only for the highest stable version. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>