Skip to content

Epic: Publish agent images to GHCR on release tags #12

Closed

Description

@MushuEE

Objective

Pushing a vX.Y.Z tag builds and publishes the images in this repo to ghcr.io/agentexecutor/<image>, multi-arch and pinned by digest, with no manual steps. AX can then reference a published Antigravity image instead of building one (google/ax#493, google/ax#622).

This follows the plan used for google/ax: google/ax#609 (build and release flows) and google/ax#546 (rulesets).

Scope

  • Publish: antigravity, and the mock-gemini test server under the name mock-gemini-api.
  • Do not publish: anything for Anthropic. We are not doing Anthropic at all initially, so claude-code and the mock-anthropic test server are left out. Redistribution of the Claude Code binary is also an open question.

Current state

Minimum bar

  • Pushing a vX.Y.Z[-PRERELEASE] tag publishes multi-arch (linux/amd64, linux/arm64) images to ghcr.io/agentexecutor/<image>
  • claude-code and mock-anthropic are never published by the workflow
  • Pull requests that touch the build run the same workflow as a dry run that publishes nothing
  • Rerunning a release never changes the digests of a published release
  • Published images can be pulled anonymously by digest
  • Only repository admins can start a release, because only they can create a tag
  • The AX hero demo runs on the published Antigravity image

Sub-issues

Rollout

  1. The workflow lands with publishing gated: dry runs on PRs, and only agentexecutor/images publishes.
  2. The first publish uses a prerelease tag (v0.0.0-rc.1). New GHCR packages are created private, so an org owner makes them public and links them to this repo.
  3. A stable tag follows once the Validate the release: workflow runs, public packages, and the hero demo #16 checks pass.

Activity

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

    @MushuEE
    ContributorAuthor

    Status, 2026-11-20: v0.0.0 is published

    v0.0.0 was tagged on main at 4a33e73 (includes #28). The Release Images run succeeded and published both images for linux/amd64 and linux/arm64:

    • ghcr.io/agentexecutor/antigravity:v0.0.0 → sha256:864c5979bb9240da9e445a9d9a16885a177e486aff2f1931783ea68f3441c42d
    • ghcr.io/agentexecutor/mock-gemini-api:v0.0.0

    Earlier tags: v0.0.0-rc.1 (f1611b0) and v0.0.0-rc.2 (060f394).

    Minimum bar

    Item Status Evidence
    A tag publishes multi-arch images to ghcr.io Done Three tag runs, all green. The antigravity:v0.0.0 index has both platforms.
    claude-code and mock-anthropic are never published Done Neither is in the workflow's catalog, and the plan job rejects image names outside it.
    PRs that touch the build run the workflow as a dry run Done Six green pull_request runs on #11, e.g. this one.
    Rerunning a release never changes published digests Implemented, not exercised The workflow skips images that already exist for the tag. No release run has been rerun yet.
    Published images can be pulled anonymously by digest Partly antigravity pulls anonymously by digest (v0.0.0 and v0.0.0-rc.2). mock-gemini-api is refused anonymously (403), so its package still needs to be made public.
    Only repository admins can start a release Done protect-tags-create and protect-tags-immutable are live and active (#23, #24). Pushing v0.0.0 needed the admin bypass.
    The AX hero demo runs on the published Antigravity image Not done Tracked in #16 and #20.

    Validation so far

    A task ran on GKE (Substrate v1.0.0, gVisor, amd64, mounted runner volume) on an image built locally from 4a33e73 the way the release builds it (PREINSTALL_AGY=false). agy 1.5.10 installed at start through the Gateway, the injected key worked, the goal completed, and with a sessionId the session state landed in /workspace/.ax/sessions/<id> with HOME left alone (#28).

    That run did not cover the published v0.0.0 digest itself, arm64, a second session turn, or suspend and resume.

    Left to close this epic

    Rollout note: step 3 said the stable tag would follow the #16 checks. v0.0.0 was cut ahead of the hero demo, on the strength of v0.0.0-rc.2 and the GKE run above.

  3. MushuEE commented on Nov 20, 2026

    @MushuEE
    ContributorAuthor

    Follow-up items can be tracked seperatley and not needed for Milestone v0.0.0

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