Overview
This task implements the logic to create an image index containing each architecture-specific image digest, as described in SHIP-0043.
Description
After all architecture-specific builds complete successfully, create an OCI image index that references the individual architecture-specific image digests:
- Collecting image references from all architecture-specific builds
- Creating a manifest list (OCI Image Index) that references all architecture-specific images
- Pushing the image index to the registry
- Handling errors if manifest index creation fails
- Handling cases where some architectures fail (fail the build)
Acceptance Criteria
Dependencies
- Blocked by: Implement multi-arch build API, orchestration, and node selection
- Blocks: Documentation and examples
Technical Notes
- Use container image libraries (e.g.,
github.com/containers/image) for manifest operations
- Manifest list should follow OCI Image Index specification
- Consider using a final task in the PipelineRun to create the image index
- Handle cases where some architectures fail (this should fail the build)
- Image index creation should happen after all successful architecture builds complete
- Ensure manifest list includes proper architecture annotations for each image
Generated-by: Cursor
Overview
This task implements the logic to create an image index containing each architecture-specific image digest, as described in SHIP-0043.
Description
After all architecture-specific builds complete successfully, create an OCI image index that references the individual architecture-specific image digests:
Acceptance Criteria
Dependencies
Technical Notes
github.com/containers/image) for manifest operationsGenerated-by: Cursor