← Back to Pull requests

ci: publish multi-arch images to ghcr.io on release tags #11

Closed
unknown closed this pull request without merging on Nov 19, 2026 00:22 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 22:59 UTC
Author

Part of #12, #13.

Summary


Adds .github/workflows/release.yaml to build and publish multi-arch (linux/amd64, linux/arm64) images to ghcr.io/agentexecutor/<image>:<tag> on vX.Y.Z[-PRERELEASE] release tags, modeled on google/ax#611.

Highlights


  • Triggers: push on v* semver tags (strictly validated in plan), workflow_dispatch (with tag, optional images filter, overwrite, dry_run), and pull_request touching the workflow or Dockerfiles (runs as a dry run against an ephemeral localhost:5000 registry).

  • Idempotent & safe: Skips images that already exist for the tag unless overwrite=true, fails on transient registry errors so published digests are never accidentally replaced, never moves :latest, and only publishes from agentexecutor/images.

  • First publish: ghcr.io answers DENIED for a package that was never pushed. As in google/ax (hack/release/publish-images.sh), a denied ghcr.io reference is resolved through the packages API: a 404 means not published yet; anything else fails the run.

  • Catalog: antigravity and mock-gemini-api (the fake Gemini API server from fakes/mock-gemini, named so it isn't mistaken for an agent image). Entries can set build_args. antigravity is built with PREINSTALL_AGY=false, so a published image never bundles the agy binary until the licensing question in #15 is answered, whatever the Dockerfile's default is. claude-code and its test server mock-anthropic are excluded (paused; #12) and rejected if requested via inputs.images.

  • Supply-chain hardening: Actions and BuildKit are pinned by SHA/digest, manifest indexes are verified to contain both linux/amd64 and linux/arm64, and pinned @sha256:... digests are printed in the step summary.

  • Visibility: New ghcr.io packages start private; an org owner switches each one to public and links it to this repo after the first publish.
  • Merge order


    Safe to merge before #9: antigravity is skipped until agents/antigravity/Dockerfile exists on the tagged commit, now that #9 is merged, this PR's dry run builds antigravity (amd64 + arm64) and mock-gemini-api.

    Follow-ups (rest of #13)


    Refusing tags that are not on main, creating a draft GitHub release with the digests, native arm64 runners instead of QEMU, and the release environment (#14).

    Diff: 294 lines (+220 / -74) across 3 files Reviewer: MushuEE Review duration: 1523m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 294 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.340
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #11"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.9% (MEDIUM) · Higher = larger blast radius
    39.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.8% · Safe to merge
    15.8%