diff --git a/pipelines/bundle-build-oci-ta.yaml b/pipelines/bundle-build-oci-ta.yaml index 79159e4e..50f9867b 100644 --- a/pipelines/bundle-build-oci-ta.yaml +++ b/pipelines/bundle-build-oci-ta.yaml @@ -103,6 +103,10 @@ spec: type: string default: . description: Target directories to scan with SAST tools. Multiple values should be separated with commas. + - name: ALLOW_CROSS_PLATFORM_IMAGES + type: string + default: "false" + description: Allows to use parent images that don't match the build host architecture. This option must be used with caution as it may create incompatible images. results: - description: "" name: IMAGE_URL @@ -277,6 +281,8 @@ spec: value: $(tasks.init.results.http-proxy) - name: NO_PROXY value: $(tasks.init.results.no-proxy) + - name: ALLOW_CROSS_PLATFORM_IMAGES + value: $(params.ALLOW_CROSS_PLATFORM_IMAGES) runAfter: - prefetch-dependencies - generate-labels diff --git a/pipelines/docker-build-oci-ta.yaml b/pipelines/docker-build-oci-ta.yaml index f10360a4..2d292551 100644 --- a/pipelines/docker-build-oci-ta.yaml +++ b/pipelines/docker-build-oci-ta.yaml @@ -107,6 +107,10 @@ spec: type: string default: . description: Target directories to scan with SAST tools. Multiple values should be separated with commas. + - name: ALLOW_CROSS_PLATFORM_IMAGES + type: string + default: "false" + description: Allows to use parent images that don't match the build host architecture. This option must be used with caution as it may create incompatible images. results: - description: "" name: IMAGE_URL @@ -258,6 +262,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