Skip to content

Commit 5caa83e

Browse files
authored
ci(agent-runtime): publish codex + gemini harness images (cloud bring-up) (#131)
1 parent 5982534 commit 5caa83e

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/agent-runtime-images.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,27 +47,32 @@ jobs:
4747
- name: Install cosign
4848
uses: sigstore/cosign-installer@v3
4949

50-
- name: Build + push base + opencode + pi (linux/amd64)
50+
- name: Build + push base + opencode + pi + codex + gemini (linux/amd64)
5151
id: bake
5252
run: |
53-
# Scope: cloud agent execution currently ships opencode + pi only. We
54-
# build just those two harness images (+ their base) to keep the
55-
# publish fast and avoid failing on harnesses we do not deploy yet.
53+
# Scope: the harness images cloud agent execution ships (opencode + pi
54+
# proven e2e; codex + gemini in bring-up). claude/acpx/hermes stay out
55+
# (claude_local is curated out of the cloud registry; the others are
56+
# not deployed yet).
5657
# Platforms come from the bake HCL (linux/amd64; our cluster is amd64).
5758
# Use --push rather than a "*.push" --set so the wildcard does not hit
5859
# the bake group (which has no such key -> "unknown key" error).
5960
docker buildx bake \
6061
-f docker/agent-runtime/buildx-bake.hcl \
61-
base opencode pi \
62+
base opencode pi codex gemini \
6263
--push \
6364
--metadata-file=bake-metadata.json
6465
# Extract digests for cosign signing
6566
BASE_DIGEST=$(jq -r '."base"."containerimage.digest"' bake-metadata.json)
6667
OPENCODE_DIGEST=$(jq -r '."opencode"."containerimage.digest"' bake-metadata.json)
6768
PI_DIGEST=$(jq -r '."pi"."containerimage.digest"' bake-metadata.json)
69+
CODEX_DIGEST=$(jq -r '."codex"."containerimage.digest"' bake-metadata.json)
70+
GEMINI_DIGEST=$(jq -r '."gemini"."containerimage.digest"' bake-metadata.json)
6871
echo "base_digest=$BASE_DIGEST" >> "$GITHUB_OUTPUT"
6972
echo "opencode_digest=$OPENCODE_DIGEST" >> "$GITHUB_OUTPUT"
7073
echo "pi_digest=$PI_DIGEST" >> "$GITHUB_OUTPUT"
74+
echo "codex_digest=$CODEX_DIGEST" >> "$GITHUB_OUTPUT"
75+
echo "gemini_digest=$GEMINI_DIGEST" >> "$GITHUB_OUTPUT"
7176
env:
7277
VERSION: ${{ env.VERSION }}
7378
REGISTRY: ${{ env.REGISTRY }}
@@ -83,3 +88,11 @@ jobs:
8388
- name: Cosign sign pi
8489
run: |
8590
cosign sign --yes "${{ env.REGISTRY }}/agent-runtime-pi@${{ steps.bake.outputs.pi_digest }}"
91+
92+
- name: Cosign sign codex
93+
run: |
94+
cosign sign --yes "${{ env.REGISTRY }}/agent-runtime-codex@${{ steps.bake.outputs.codex_digest }}"
95+
96+
- name: Cosign sign gemini
97+
run: |
98+
cosign sign --yes "${{ env.REGISTRY }}/agent-runtime-gemini@${{ steps.bake.outputs.gemini_digest }}"

0 commit comments

Comments
 (0)