Appearance
Releases ​
For agents: the procedure, the files and the evidence
adam-rs releases the way vaam-apps/vpay does (ADR 0084). Every merge to main still builds a sha-<7> image for development. A release is a version, X.Y.Z, cut on purpose: one number for every crate, the image and the chart. Production deploys releases only.
What a release is ​
| Artifact | Name | Signed |
|---|---|---|
| Image | ghcr.io/vymalo/another-adam-rs/coder:X.Y.Z, and :X.Y for the newest patch of a minor | cosign, keyless; provenance and an SBOM in the image |
| Chart | oci://ghcr.io/vymalo/another-adam-rs/charts/coder, version X.Y.Z, whose image.tag is X.Y.Z | cosign, keyless |
| Notes | the GitHub release vX.Y.Z and CHANGELOG.md, from the commits since the last release | no |
There is no latest. A published X.Y.Z never moves.
How a release happens ​
A release pull request is never written by hand: merge it when you want the version it names. The title of every pull request is a Conventional Commit, because it is the commit main keeps and the type picks the number: before 1.0, a feat moves the minor (0.6.0), a fix or anything else the patch (0.5.1), and a breaking change (feat!:) the minor too. A Release-As: X.Y.Z footer in a commit picks another number.
Which tag to deploy ​
| You run | Pin | Moves when |
|---|---|---|
| production | the image X.Y.Z@sha256:<digest>, the chart version X.Y.Z | you change the pin |
a development cluster that follows main | sha-<7>, or the chart from main | the bump commit lands (upgrade) |
Install a release from the registry:
sh
helm install coder oci://ghcr.io/vymalo/another-adam-rs/charts/coder --version X.Y.Z \
-n another-agentic-system -f my-values.yaml \
--set image.tag=X.Y.Z@sha256:<digest>The digest is in the release run's summary, or read it from the registry (the agent page). The chart's own image.tag is already X.Y.Z; the --set adds the digest, so a tag moved by hand could not change what runs.
Check a release ​
sh
cosign verify ghcr.io/vymalo/another-adam-rs/coder:X.Y.Z \
--certificate-identity "https://github.com/vymalo/another-adam-rs/.github/workflows/release.yml@refs/tags/vX.Y.Z" \
--certificate-oidc-issuer https://token.actions.githubusercontent.comThe same command with ghcr.io/vymalo/another-adam-rs/charts/coder:X.Y.Z checks the chart. The image's provenance and SBOM are in its index (docker buildx imagetools inspect with --format '{{json .Provenance}}' or '{{json .SBOM}}').
Set up once (the owner) ​
- Create a GitHub App with the repository permissions Contents: read and write and Pull requests: read and write, and install it on this repository only.
- Add two repository secrets:
RELEASE_PLEASE_APP_CLIENT_ID(the App's Client ID,Iv23li..., not its numeric App ID) andRELEASE_PLEASE_APP_PRIVATE_KEY(a private key of the App). These are vpay's names. - After the first release, make the package
another-adam-rs/charts/coderpublic, and check an anonymous pull.
Until the App is set up, release-please.yml fails at its first step and nothing is released. The tag must come from the App: a tag made with the workflow's own token starts no workflow.
What is not proven yet ​
No tag has been pushed. The App, the release pull request, the build and smoke tests on a tag, the signatures and the chart's first push have not run; the release workflow checks each as it goes and stops rather than publish half.