Skip to content

ci(release): promote release images to Quay - #5807

Merged
SDAChess merged 1 commit into
mainfrom
ci/4554-publish-releases-to-quay/SDAChess
Nov 23, 2026
Merged

SDAChess merged 1 commit into
mainfrom
ci/4554-publish-releases-to-quay/SDAChess

Conversation

@SDAChess

@SDAChess SDAChess commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Releases stop publishing to ghcr.io/nvidia/openshell, which is frozen now that the repository lives in ai-openshell. Release Dev and Publish Release now copy the SHA-tagged CI images to quay.io/ai-openshell/{gateway,sandbox,supervisor}, logging in with the job's OIDC token and no stored secret.

The repository rename to ai-openshell/openshell is applied, so jobs in release present the subject the Quay robot is federated with.

This replaces the dev-image retag in the build registry from #5874: dev images are promoted to Quay instead. The CI registry source is read from the running repository's owner, which resolves to the same ghcr.io/ai-openshell/openshell path #5874 hard-coded.

Related Issue

Refs #4554

Changes

  • Release Dev: copies ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/openshell/<component>:<sha> to Quay as both :<sha> and :dev. The :<sha> tag backs the 0.0.0-dev.<sha> chart, whose appVersion is that SHA.
  • Prereleases: copy the CI image's SHA tag to quay.io/ai-openshell/<component>:<version>.
  • Stable releases: push the image archives straight to Quay, keeping the never-overwrite guard. latest is retagged within Quay.
  • SBOM checks: run verify-image-sbom.sh --require-cargo against the Quay tag users pull, for dev, prerelease and stable.
  • Login and permissions: both promotion jobs run in environment: release with id-token: write, and packages drops to read, which is enough to read the CI registry. They log in through ai-openshell/workflows/quay-login, pinned to the commit ai-openshell/console uses, as ai-openshell+openshell_release.
  • Job IDs: tag-ghcr-dev and tag-ghcr-release keep their IDs; only their display names change, so the needs lists and the publication check are untouched.

Release setup

  • Quay robot: ai-openshell+openshell_release, with Write on gateway, sandbox, supervisor, charts/openshell and charts/openshell-workspace.
  • Federation: issuer https://token.actions.githubusercontent.com, subject repo:ai-openshell@311201172/openshell@1166129534:environment:release. GET repos/ai-openshell/openshell/actions/oidc/customization/sub returns sub_claim_prefix: repo:ai-openshell@311201172/openshell@1166129534, which matches.
  • release environment: exists and admits branch main and v* tags. It does not admit release/*, so a stable release dispatched from a support branch such as release/0.4 fails at the Quay jobs until that branch pattern is added.

Testing

  • Cross-registry copy: I copied the published ghcr.io/nvidia/openshell/gateway:dev to a local registry with the same docker buildx imagetools create --prefer-index=false command. The copy has the same index digest, keeps provenance for linux/amd64 and linux/arm64, and passes tasks/scripts/verify-image-sbom.sh --require-cargo (SPDX=2, Cargo=1027).

  • Overwrite guard: against the empty Quay repo, skopeo inspect returns manifest unknown, which is what the stable guard checks for.

  • Lints: actionlint passes on the changed workflows, and zizmor reports no findings that aren't already on main.

  • Not verified yet: the first Release Dev after merge proves the OIDC exchange, that Quay accepts the attestation manifests, and the SBOM check on Quay.

  • Checks appropriate to the affected code and behavior pass

  • Unit tests added/updated (if applicable)

  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@copy-pr-bot

copy-pr-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 20, 2026
@github-actions

Copy link
Copy Markdown

Release Dev and Publish Release now copy the SHA-tagged images from the
CI registry (ghcr.io/<owner>/openshell) to quay.io/ai-openshell instead of
retagging them in ghcr.io/nvidia/openshell. Stable archives are pushed to
Quay directly. Jobs log in to Quay through the org's quay-login action
with the job's OIDC token, so they run in the release environment.

Dev also pushes the SHA tag so the 0.0.0-dev.<sha> chart resolves, and
dev and prerelease promotions verify the SBOM on the Quay copy.

Refs #4554

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@SDAChess
SDAChess force-pushed the ci/4554-publish-releases-to-quay/SDAChess branch from ffb9b81 to c7ca2a1 Compare November 23, 2026 08:57
@github-actions

Copy link
Copy Markdown

Compatibility review (advisory)

New or updated breaking changes; see the full report for all findings.

1. configuration — No explicit risk acceptance found

Release publication moves gateway, sandbox, and supervisor version/latest/dev tags from their existing GHCR locations to quay.io/ai-openshell/{component} without preserving GHCR publication.

  • Impact: Existing Helm deployments and gateway runtime-image configurations still reference GHCR, so new version pulls fail while latest/dev consumers remain on stale images.
  • Action: Preserve publication of the existing GHCR version/latest/dev tags for this patch train, and document complete Helm and runtime-image overrides before any later Quay-only migration.
  • PR: ci(release): promote release images to Quay #5807
Review details
  • Execution: complete
  • Candidate: PR #5807 (29f9143d21f8c8e3ffb159bc6abe235dcf8ae28e)
  • Baseline: 9c3c92f1023e15e711ab710cc67f0e490b46784c (9c3c92f1023e15e711ab710cc67f0e490b46784c)
  • Reviewed: rust-sdk, python-sdk, api-behavior, cli, configuration, policy, helm, state

Advisory review; publication gates are unchanged.

Branch check run

@SDAChess
SDAChess marked this pull request as ready for review November 23, 2026 09:17
@SDAChess
SDAChess requested a review from a team as a code owner November 23, 2026 09:17
@SDAChess
SDAChess requested a review from alangou November 23, 2026 09:17
@SDAChess
SDAChess merged commit 27a8c09 into main Nov 23, 2026
93 checks passed
@SDAChess
SDAChess deleted the ci/4554-publish-releases-to-quay/SDAChess branch November 23, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants