Repository navigation
Consume OCI image info in build, generateBuildMatrix, getStaleImages, mergeImageInfo commands - #2157
Merged
Merged
Conversation
Introduce PullAsync and FetchBlobAsync on IOrasService/OrasDotNetService and the OciArtifact/OciBlob records describing pulled manifest and blob content. These are the low-level primitives used to consume image-info published as an OCI artifact. Co-authored-by: Copilot <[email protected]>
Add a method to pull image-info from the OCI artifact declared by the manifest's imageInfo metadata, validating artifactType, blob media type, and blob count. Shared manifest-artifact validation is factored into GetValidatedImageInfoArtifact. Co-authored-by: Copilot <[email protected]>
When --image-info-source-path is not supplied and the manifest declares an imageInfo artifact, pull the image-info from the OCI artifact for build-time cache checks instead of relying on a file path. Co-authored-by: Copilot <[email protected]>
Add --image-info-registry-override and --image-info-repo-prefix options and load image-info from the manifest's OCI artifact when no --image-info path is given. Image artifact details are now loaded asynchronously. Co-authored-by: Copilot <[email protected]>
Replace the GitHub/Octokit-based image-info lookup with a pull from the manifest's image-info OCI artifact. Add --image-info-registry-override and --image-info-repo-prefix so the central pipeline can source artifacts from a private publish registry. Co-authored-by: Copilot <[email protected]>
Add --initial-image-info-registry-override, --initial-image-info-repo-prefix, and --initial-image-info-output-path so the initial merge target can be pulled from the OCI artifact during publish instead of a versions repo checkout. Co-authored-by: Copilot <[email protected]>
Image-info is now pulled from the manifest's OCI artifact rather than a GitHub file referenced by the subscription, so the Subscription.ImageInfo property is no longer needed. Co-authored-by: Copilot <[email protected]>
mthalman
approved these changes
Jun 22, 2026
Member
Author
|
Dismissing the github-code-quality comments about |
mthalman
approved these changes
Jun 22, 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.
Part 2/3 of #2142. Part 3/3 will be documentation/pipeline changes.
Each commit is independently reviewable. I am taking a slightly different/refined approach compared to #2155. Here are the invariants I followed:
Out of scope for this MVP:
Pipeline changes (part 3/3) are currently WIP, pushed here: https://github.com/dotnet/docker-tools/tree/lbussell/oci-image-info-pipelines