From 4a7388aed55fa16ed65262c81d0880abb7263834 Mon Sep 17 00:00:00 2001 From: Sachin Sampras M Date: Thu, 9 Jul 2026 12:46:58 +0100 Subject: [PATCH] feat: add ALLOW_CROSS_PLATFORM_IMAGES param to multi-platform pipeline Expose the ALLOW_CROSS_PLATFORM_IMAGES parameter in docker-build-multi-platform-oci-ta.yaml, matching the existing support in docker-build-oci-ta.yaml and bundle-build-oci-ta.yaml. The buildah-remote-oci-ta task already reads this env var but the multi-platform pipeline did not expose it as a param. Defaults to "false" so all existing builds are unaffected. SECURESIGN-4992 Signed-off-by: Sachin Sampras M --- pipelines/docker-build-multi-platform-oci-ta.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pipelines/docker-build-multi-platform-oci-ta.yaml b/pipelines/docker-build-multi-platform-oci-ta.yaml index 89bf2c41..82cb0600 100644 --- a/pipelines/docker-build-multi-platform-oci-ta.yaml +++ b/pipelines/docker-build-multi-platform-oci-ta.yaml @@ -83,6 +83,10 @@ spec: description: Name of the Dockerfile ARG to inject with the resolved dependency image (e.g. IMG, AGENT_IMG). name: manager-build-arg-name type: string + - default: "false" + description: Allow base images with a different architecture than the target platform. Required when extracting binaries from a single-arch image (e.g. cli-stack) in a multi-platform build. + name: ALLOW_CROSS_PLATFORM_IMAGES + type: string - default: - linux/x86_64 description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller. @@ -298,6 +302,8 @@ spec: - "short-commit=$(tasks.clone-repository.results.short-commit)" - name: BUILDAH_FORMAT value: $(params.buildah-format) + - name: ALLOW_CROSS_PLATFORM_IMAGES + value: $(params.ALLOW_CROSS_PLATFORM_IMAGES) runAfter: - prefetch-dependencies - generate-labels