feat(github): github-distribute reusable — repo mirror, GitHub Release, GHCR digest-copy #48
No reviewers
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/workflows!48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/feat/github-distribute"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extracted from webgrip/ploeg's reopened GitHub track, sibling of
forgejo-distribute.yml: force-push branch/tag mirror to the github.com twin,
idempotent GitHub Release with notes fetched from the Forgejo release API
(so workflow_dispatch backfills keep their notes), and a by-digest GHCR
image copy via buildx imagetools from the registry that built it.
One classic PAT (repo + write:packages) drives git, the Releases API and
GHCR; fine-grained PATs cannot write GHCR. Inner job ids are distinct from
forgejo-distribute's on purpose — Forgejo v15 flattens reusable inner jobs.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com