Skip to content

[FEATURE] Implement Per-Arch Builds #2143

Description

@adambkaplan

Overview

Following up on #2075, enhance the BuildRun controller to do the following for multiarch builds:

  • Create PipelineRun for orchestrating the build.
  • Execute TaskRun per architecture that pushes container image.
  • Report image references and digests for individual architecture images.

Acceptance Criteria

  • BuildRun controller creates PipelineRun for multiarch build
  • Output images per architecture are pushed to container registry with appropriate tags
  • BuildRun object status includes per-architecture image reference and digest
  • Error handling for partially failed builds
  • Unit tests pass with >80% coverage for new code
  • Integration or e2e tests verify behavior

Dependencies

Technical Notes

  • Per-arch builds need their own tags to ensure the destination container registry does not delete the image (this is a common GC practice with public container registries)
  • Default behavior should maintain backward compatibility (single-arch builds)
  • Testing: do we need to ask the CNCF for test clusters??

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions