Skip to content

Releasing

Markdown · llms.txt

Push a vX.Y.Z tag on main. release.yml runs GoReleaser (archives, checksums, cosign signature, SBOMs, the ghcr.io/dyokto/mcp-opa-authz image, the Homebrew formula in kanywst/homebrew-tap), then calls publish-mcp-registry.yml to list the version in the MCP Registry.

Before tagging, move the ## [Unreleased] entries in CHANGELOG.md under the new version and add its compare link.

The first release cut from dyokto/mcp-opa-authz needs three one-off steps.

  1. Make the new image public. The release run pushes ghcr.io/dyokto/mcp-opa-authz for the first time, and a package first pushed by GITHUB_TOKEN is private. The registry job checks for an anonymously pullable image and fails until it is public. Set the package's visibility to public in the org's package settings, then re-run the registry job with workflow_dispatch and the tag.

  2. Publish under io.github.dyokto. publish-mcp-registry.yml logs in with GitHub OIDC, and the registry grants io.github.<repository_owner>/* to that token, so a run in dyokto/mcp-opa-authz publishes under io.github.dyokto with no secret. It runs at the end of the tag's release run; re-run it with workflow_dispatch after making the image public in step 1. Starting the release (pushing the tag) and re-running the job are org Owner tasks.

  3. Deprecate the old registry name. Once io.github.dyokto/mcp-opa-authz is listed, kt deprecates the old entry:

    Terminal window
    mcp-publisher login github
    mcp-publisher status --status deprecated --all-versions \
    --message "Moved to io.github.dyokto/mcp-opa-authz" \
    io.github.kanywst/mcp-opa-authz

The old image ghcr.io/kanywst/mcp-opa-authz stays public with its existing tags. Releases up to v0.7.0 stay at github.com/kanywst/mcp-opa-authz in the Go module proxy and keep their signatures from the kanywst/mcp-opa-authz workflow.