ci: reuse existing REGISTRY_TOKEN secret for package publish #60

Merged
Latte merged 1 commits from feat/publish-reuse-registry-token into dev 2026-06-27 12:49:18 +00:00
Owner

Summary

Re-applies the publish-workflow credential fix that landed after PR #59 was merged and therefore never reached dev.

.gitea/workflows/publish.yml now reuses the existing REGISTRY_TOKEN package secret (the same write:package PAT docker.yml uses) instead of requiring new GITEA_PACKAGE_* secrets. It authenticates uv publish as GITHUB_ACTOR with the token as password, and fails loudly if the secret is absent. docs/packaging.md updated to match.

No code changes — CI workflow + docs only. The v*-tag publish job is now ready to run with no new secret setup.

Notes

  • Targets dev per the flow HEAD → feature → dev → main.
  • Single commit, cherry-picked from the merged branch (original c551b3c).

🤖 Generated with Claude Code

## Summary Re-applies the publish-workflow credential fix that landed after PR #59 was merged and therefore never reached `dev`. `.gitea/workflows/publish.yml` now reuses the **existing** `REGISTRY_TOKEN` package secret (the same `write:package` PAT `docker.yml` uses) instead of requiring new `GITEA_PACKAGE_*` secrets. It authenticates `uv publish` as `GITHUB_ACTOR` with the token as password, and fails loudly if the secret is absent. `docs/packaging.md` updated to match. No code changes — CI workflow + docs only. The `v*`-tag publish job is now ready to run with no new secret setup. ## Notes - Targets `dev` per the flow `HEAD → feature → dev → main`. - Single commit, cherry-picked from the merged branch (original `c551b3c`). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Latte added 1 commit 2026-06-27 12:47:32 +00:00
ci: reuse existing REGISTRY_TOKEN secret for package publish
docker / test (pull_request) Successful in 34s
test / test (pull_request) Successful in 43s
docker / docker (pull_request) Successful in 39s
docker / test (push) Successful in 34s
docker / lint (push) Successful in 40s
test / test (push) Successful in 42s
lint / lint (push) Successful in 44s
docker / lint (pull_request) Successful in 44s
lint / lint (pull_request) Successful in 42s
docker / docker (push) Successful in 46s
1ca5bcbc6b
The repo already has a write:package REGISTRY_TOKEN secret (used by docker.yml).
Reuse it for uv publish instead of requiring new GITEA_PACKAGE_* secrets:
authenticate as GITHUB_ACTOR with the token as password. Update packaging docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Latte merged commit da66200be7 into dev 2026-06-27 12:49:18 +00:00
Latte deleted branch feat/publish-reuse-registry-token 2026-06-27 12:49:18 +00:00
Sign in to join this conversation.