Repository navigation
Open
Labels
Description
Part of #609. Agent task images are out of scope; they are built and released in agentexecutor/images.
Goal
Before each stage of the build and release flows is turned on, show that it works on real GitHub Actions runs. Record the run links here as evidence.
Stage 1: release on tag (base images, CLI, manifests)
Dry runs (publish nothing):
- A PR that touches
.github/workflows/release.ymlor aDockerfile.*runs a dry run that passes. Images go only to the job-local registry, and no release is created - A manual run with
dry_run: trueagainst an existing tag passes - A fork does nothing except dry runs
- The dry run's second image pass reuses every image and records the same digests
- A manual dry run on an existing stable tag that contains the workflow passes (the PR dry run uses a prerelease version, so it never takes the
:latestpath)
Prerelease (vX.Y.Z-rc.1):
- The first publish gets past the existence check (ghcr.io answers DENIED for a never-pushed package; the packages API fallback should treat that as missing)
- Pushing the tag publishes
ghcr.io/google/ax/ax-serverandghcr.io/google/ax/ax-task-runnerwith bothlinux/amd64andlinux/arm64manifests (docker buildx imagetools inspect) - Packages are set to public and linked to
google/ax. An anonymousdocker pullby digest works - The GitHub release has the
axCLI archives andchecksums.txt, and anax-server.yamlwhose images are pinned to the digests that were pushed -
curl -fsSL https://github.com/google/ax/releases/download/<tag>/install.sh | AX_VERSION=<tag> shinstalls the CLI, andax versionprints the tag -
:latestis not moved for a prerelease - Rerunning the workflow for the same tag builds nothing and records the same digests
- A manual run with
overwrite: trueis refused once the release is published - A tag on a commit that is not on
mainor arelease-*branch is refused
Install from the release:
- On Kind (amd64), installing from the release assets alone (no local build) gets a Task without
spec.imagetoSucceeded - The same on an arm64 cluster (or an arm64 Kind node)
-
make test-e2epasses against the published images (needs a follow-up:hack/setup-e2e-kind.shalways builds images; add an override for a publishedax-serverand task-runner base)
Real release (vX.Y.Z):
- All of the above, and
:latestnow points to the release
Stage 3: scheduled builds (deferred)
Fill in when nightly triggers are turned on.
Run log
| Date | Stage | Run | Result | Notes |
|---|---|---|---|---|
| 2026-11-16 | 1 | PR #616 dry run | Pass | images 3m9s (amd64 and arm64 binaries verified per platform), release 1m23s; pushed to the job-local registry only, no release created |
| 2026-11-16 | 1 | PR #616 dry run (review fixes) | Pass | images 2m36s, release 1m29s; the rerun reused both images with the same digests (no rebuild) |
| 2026-11-17 | 1 | PR #616 dry run (ax-runner-volume) | Pass | Fixed the render failure from main's new AX_RUNNER_VOLUME_IMAGE placeholder; all three images built, binaries verified per platform, and reused on rerun |
Activity
ci: build and publish a release when a vX.Y.Z tag is pushed (#616)
MushuEE commentedon Nov 18, 2026
Release steps for the first preview tag
Draft steps for the first tagged run, taken from
docs/releasing.md,release.ymland the checklist above. They have not been run end to end yet.PREVIEW_TAGstands for the tag being cut.0. Set the variables
A tag with a
-PRERELEASEsuffix is published as a pre-release and never moves:latest.1. Before tagging
mainis green at${COMMIT}, including the nightly E2E run.go.modpins the Substrate release to ship against.protect-tagsruleset. Nobody else can create tags.googleorg owner is available for step 4.2. Tag and push
3. Watch the Release workflow
The
imagesjob pushesax-serverandax-task-runnertoghcr.io/google/ax. Thereleasejob publishes the GitHub release. Ifimagesfails, no release is created. The image digests are in the job summary.4. Make the packages public (org owner)
GitHub creates new packages as private. An owner of the
googleorg setsax/ax-serverandax/ax-task-runnerto public in each package's settings, and links both togoogle/ax. Until then anonymous pulls fail.5. Verify
Both platforms are present:
The release has the assets, and the manifest is pinned to the pushed digests:
An anonymous pull by digest works:
The CLI installs and reports the tag:
:latestwas not moved by a prerelease:docker buildx imagetools inspect ghcr.io/google/ax/ax-server:latest # expect: not found, until the first stable releaseA rerun builds nothing and records the same digests:
gh workflow run release.yml --repo google/ax --ref main -f tag="${PREVIEW_TAG}"overwriteis refused once the release is published (this run should fail):gh workflow run release.yml --repo google/ax --ref main -f tag="${PREVIEW_TAG}" -f overwrite=trueA manual dry run against the existing tag passes and publishes nothing:
gh workflow run release.yml --repo google/ax --ref main -f tag="${PREVIEW_TAG}" -f dry_run=trueInstall from the release assets alone, with no local build, on Kind amd64 and on an arm64 cluster. These are the commands the release notes print; the cluster needs the Agent Substrate version named in the notes:
Then check that a Task without
spec.imagereachesSucceeded.6. Record the results
Tick the boxes above and add each run to the run log table.
7. If something is wrong
A published release is never rebuilt. Fix on
mainthrough a PR, then repeat from step 0 with the next tag (for examplev0.4.0-rc.2).8. Stable release
Repeat steps 0 to 6 with the stable tag (for example
PREVIEW_TAG=v0.4.0). It becomes the highest stable tag, so it is marked Latest and:latestnow points to it.mayawang commentedon Nov 18, 2026
Thanks Grant, this is great. Two things: ping me or Jaana when you're ready to tag, since only admins can push it now. And who's our google org owner for step 4? Worth lining them up before Friday so the images are pullable. Also, our plan calls this release v0.1 but tags are at v0.3.x, let's agree the tag name before the first rc.