Repository navigation
ci(release): promote release images to Quay - #5807
Merged
Merged
Conversation
|
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. |
|
🌿 Preview your docs: https://nvidia-preview-pr-5807.docs.buildwithfern.com/openshell |
4 of 6 tasks
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
force-pushed
the
ci/4554-publish-releases-to-quay/SDAChess
branch
from
November 23, 2026 08:57
ffb9b81 to
c7ca2a1
Compare
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. configuration — No explicit risk acceptance foundRelease 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.
Review details
Advisory review; publication gates are unchanged. |
alangou
approved these changes
Nov 23, 2026
This was referenced Nov 23, 2026
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Releases stop publishing to
ghcr.io/nvidia/openshell, which is frozen now that the repository lives inai-openshell. Release Dev and Publish Release now copy the SHA-tagged CI images toquay.io/ai-openshell/{gateway,sandbox,supervisor}, logging in with the job's OIDC token and no stored secret.The repository rename to
ai-openshell/openshellis applied, so jobs inreleasepresent 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/openshellpath #5874 hard-coded.Related Issue
Refs #4554
Changes
ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/openshell/<component>:<sha>to Quay as both:<sha>and:dev. The:<sha>tag backs the0.0.0-dev.<sha>chart, whoseappVersionis that SHA.quay.io/ai-openshell/<component>:<version>.latestis retagged within Quay.verify-image-sbom.sh --require-cargoagainst the Quay tag users pull, for dev, prerelease and stable.environment: releasewithid-token: write, andpackagesdrops toread, which is enough to read the CI registry. They log in throughai-openshell/workflows/quay-login, pinned to the commitai-openshell/consoleuses, asai-openshell+openshell_release.tag-ghcr-devandtag-ghcr-releasekeep their IDs; only their display names change, so theneedslists and the publication check are untouched.Release setup
ai-openshell+openshell_release, with Write ongateway,sandbox,supervisor,charts/openshellandcharts/openshell-workspace.https://token.actions.githubusercontent.com, subjectrepo:ai-openshell@311201172/openshell@1166129534:environment:release.GET repos/ai-openshell/openshell/actions/oidc/customization/subreturnssub_claim_prefix: repo:ai-openshell@311201172/openshell@1166129534, which matches.releaseenvironment: exists and admits branchmainandv*tags. It does not admitrelease/*, so a stable release dispatched from a support branch such asrelease/0.4fails at the Quay jobs until that branch pattern is added.Testing
Cross-registry copy: I copied the published
ghcr.io/nvidia/openshell/gateway:devto a local registry with the samedocker buildx imagetools create --prefer-index=falsecommand. The copy has the same index digest, keeps provenance for linux/amd64 and linux/arm64, and passestasks/scripts/verify-image-sbom.sh --require-cargo(SPDX=2, Cargo=1027).Overwrite guard: against the empty Quay repo,
skopeo inspectreturnsmanifest unknown, which is what the stable guard checks for.Lints:
actionlintpasses on the changed workflows, andzizmorreports no findings that aren't already onmain.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