docs: explain the ghcr image and our CI in the Capgo README section

Merged
WC
3d ago
+19-6

What

README only, and only the Capgo section above "Beginning of original README". The original README is untouched.

  • Releases: v2.199.0-capgo now names its image, ghcr.io/cap-go/auth:v2.199.0-capgo.1.
  • New "Images" section: pushing a tag vX.Y.Z-capgo<anything> on a capgo/ commit publishes ghcr.io/cap-go/auth:<tag> for amd64 and arm64, with no latest. The section gives the -capgo.N convention and the tag commands.
  • "Updating the fork":
    • Step 1 now says to check gh workflow list --all after Sync fork and disable any new upstream workflow.
    • New step 3: push the -capgo.1 tag.
    • The steps after it are renumbered.
  • "No CI here" becomes a "CI" section: only capgo-image.yml runs; upstream's five workflows are disabled in the Actions settings; tests still run locally.

Follows Cap-go/auth#3, which added the workflow on capgo/v2.199.0, and the first publish: https://github.com/Cap-go/auth/actions/runs/47114475713.

Test plan

  • git diff origin/master touches only lines above "Beginning of original README"
  • The rendered README on GitHub: the anchors #images, #ci and #releases work

Summary by cubic

Documents the ghcr.io/cap-go/auth image publishing workflow and replaces the "No CI here" note with a full CI section in the Capgo part of the README.

  • Adds an "Images" section: pushing a vX.Y.Z-capgo.N tag on a capgo/ branch publishes amd64 and arm64 images with no latest tag. The suffix may contain letters, digits, ., and -, and the whole tag is at most 128 characters.
  • Adds a publish step to "Updating the fork" that pushes the tag, waits for the image run to pass before continuing, and pins Capgo to the tagged commit.
  • The CI section explains that only capgo-image.yml runs, that upstream's five workflows are disabled, and that new upstream workflows must be disabled after each sync.

Summary by CodeRabbit

  • Documentation
    • Added guidance on publishing Capgo release images, including supported architectures, tag behavior, and release numbering.
    • Updated fork release steps and documented which CI workflow runs on Capgo branches and how to handle other workflows.