Add ORAS CLI integration for multi-platform manifest management#363
Draft
ianpittwood wants to merge 5 commits intomulti-metadata-attachmentsfrom
Draft
Add ORAS CLI integration for multi-platform manifest management#363ianpittwood wants to merge 5 commits intomulti-metadata-attachmentsfrom
ianpittwood wants to merge 5 commits intomulti-metadata-attachmentsfrom
Conversation
Implements an oras-based alternative to `docker buildx imagetools create` for merging multi-platform images. This avoids authentication issues that affect Docker's imagetools when performing cross-registry operations. The workflow: 1. Creates a temporary manifest index from platform-specific sources 2. Copies the index to all target registries/tags 3. Deletes the temporary index Key components: - find_oras_bin() for binary discovery using existing find_bin() pattern - OrasManifestIndexCreate, OrasCopy, OrasManifestDelete command classes - OrasMergeWorkflow orchestrator with from_image_target() factory method - Source validation ensuring all sources are from the same repository Includes 37 unit tests covering command construction, execution, validation, workflow orchestration, and ImageTarget integration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Test Results1 167 tests +37 1 158 ✅ +28 13m 26s ⏱️ +31s For more details on these failures and errors, see this check. Results for commit 85d7f86. ± Comparison against base commit 3132fb7. ♻️ This comment has been updated with latest results. |
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
docker buildx imagetools createfor merging multi-platform imagesOrasMergeWorkfloworchestrator that creates temporary manifest indexes, copies to target registries, and cleans upChanges
posit_bakery/image/oras/oras.py: Main implementation with command classes and workflow orchestratorposit_bakery/image/oras/__init__.py: Module exportstest/image/oras/test_oras.py: 37 unit tests covering all componentsTest plan
just test -k oras)🤖 Generated with Claude Code