You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runner image reaches private ECR, so Fargate can lazy-load it (ADR-0002). The stack gains three things:
an ECR repo with a lifecycle rule that keeps the last 4 images;
GitHub's OIDC provider, created only when the ExistingOidcProviderArn parameter is empty, following zeroae/foresight's github-deploy-zae.json;
an image-push role, trusted only for repo:zeroae/ci-runner:ref:refs/heads/main and allowed only to push to that repo.
On main, image.yml then assumes that role and pushes both architectures to ECR with a SOCI v2 index made by soci convert, under :latest and the date/sha tag. It keeps pushing to GHCR, which EC2 runners still use.
Deploy with the permission set chosen in "Gate: account quotas and OIDC permissions", following the naming and boundary rules it recorded.
Acceptance criteria
After a main build, ECR holds a multi-arch :latest whose image index carries a SOCI v2 index.
A run on any other branch, or from another repo, can't assume the push role.
The lifecycle rule keeps 4 images.
A deploy into an account that already has GitHub's provider reuses it.
docs/stack.md and the runbook cover the repo and the role, and say there is nothing to rotate: no stored keys or tokens.
Live: the stack deploy reused the existing OIDC provider (no second one). The first main run's push was refused: this repo uses GitHub's immutable OIDC subject, fixed in b28303f (trust repo:zeroae@11018406/ci-runner@1455021495:ref:refs/heads/main); that redeploy also proved iam:UpdateAssumeRolePolicy under ZAEPowerUserAccess. Re-run https://github.com/zeroae/ci-runner/actions/runs/43541912036 green: ECR :latest and :20261114-04c2a25 hold amd64 and arm64 manifests plus a SOCI v2 index for each.
Activity
Merge ticket #27: image to ECR through OIDC with a SOCI index, live p…
sodre commentedon Nov 14, 2026
Live: the stack deploy reused the existing OIDC provider (no second one). The first main run's push was refused: this repo uses GitHub's immutable OIDC subject, fixed in b28303f (trust
repo:zeroae@11018406/ci-runner@1455021495:ref:refs/heads/main); that redeploy also provediam:UpdateAssumeRolePolicyunder ZAEPowerUserAccess. Re-run https://github.com/zeroae/ci-runner/actions/runs/43541912036 green: ECR:latestand:20261114-04c2a25hold amd64 and arm64 manifests plus a SOCI v2 index for each.