Skip to content

Release workflow: publish images on release tags #13

Closed

Description

@MushuEE

Part of #12.

Goal

A release workflow that publishes the images in this repo to ghcr.io/agentexecutor/<image>:<tag> when a vX.Y.Z[-PRERELEASE] tag is pushed. #11 implements this workflow and will reference #12. The items under "Still needed" are changes to make in that PR.

What #11 already does

  • Runs on v* tags, on manual dispatch, and as a dry run on PRs (images go to a registry inside the job).
  • Builds linux/amd64 and linux/arm64 and checks the published index has both.
  • Skips images that already exist for the tag, so a rerun doesn't change digests.
  • Never moves :latest, and only publishes from agentexecutor/images.

Still needed

  • Leave out claude-code. Remove it from the image catalog, and make sure it can't be requested through the images input either.
  • Refuse tags that aren't on main. google/ax's workflow rejects a tag whose commit is not on main or a release-* branch.
  • Check the first publish. Validate the build and release workflow runs google/ax#610 found that ghcr.io answers DENIED for a package that has never been pushed. The existence check in ci: publish multi-arch images to ghcr.io on release tags #11 treats only "not found" answers as missing, so the first publish of each image may fail. Confirm, and handle it if so.
  • Create a draft GitHub release with the digests. They are only written to the run summary today. The workflow should create a draft release for the tag whose notes list each image@sha256:... and the changes since the last tag, so AX can pin to them. A release manager publishes the draft.
  • Decide how arm64 is built. ci: publish multi-arch images to ghcr.io on release tags #11 builds arm64 under QEMU on an amd64 runner. The per-image CI in feat(antigravity): add pure Dockerfile and multi-arch build/verify CI #9 uses a native arm64 runner. Pick one, and check any build-time install works under it.
  • Decide what manual runs may do. There is no release environment (see Protect release refs and gate publishing #14), so tag protection is the only gate, and it doesn't cover manual runs. Anyone with write access can start one, and overwrite replaces the images of a published tag. Remove that option or limit it to repository admins.

Activity

  1. added this to the Milestone v0.0.0 milestone on Nov 18, 2026
  2. MushuEE commented on Nov 20, 2026

    @MushuEE
    ContributorAuthor

    Closing: the release workflow from #11 is on main and has published three tags, v0.0.0-rc.1, v0.0.0-rc.2 and v0.0.0. Status is in #12 (comment).

    Where the "Still needed" items ended up:

    Item Status
    Leave out claude-code Done. It isn't in the catalog, and the plan job rejects image names outside the catalog, so it can't be requested through images either.
    Check the first publish Done. The existence check resolves a DENIED from ghcr.io through the packages API, and the first publish of both images succeeded on v0.0.0-rc.1.
    Decide how arm64 is built No recorded decision. The workflow builds arm64 under QEMU on an amd64 runner, and all three releases were built that way.
    Refuse tags that aren't on main Not done. The plan job only checks the tag name.
    Create a draft GitHub release with the digests Not done. Digests are only in the run summary.
    Decide what manual runs may do Not done. The overwrite input is still there and isn't limited to admins.

    The three items that aren't done have no other issue tracking them yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions