From d7c0ece8e76e9dc5343c65a8b024478df143c387 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Fri, 12 Jan 2024 14:07:21 -0700 Subject: [PATCH] Disable `cloud-provider-vsphere` arm64 images `rancher/image-mirror` is unable to mirror arm64 builds of these images Issue: https://github.com/rancher/rke2/issues/5260 Signed-off-by: Michael Fritch --- scripts/build-images | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-images b/scripts/build-images index d2df27b743..a5134dfba3 100755 --- a/scripts/build-images +++ b/scripts/build-images @@ -60,6 +60,7 @@ xargs -n1 -t docker image pull --quiet << EOF > build/images-calico.txt ${REGISTRY}/rancher/mirrored-calico-apiserver:v3.26.3 EOF +if [ "${GOARCH}" != "arm64" ]; then xargs -n1 -t docker image pull --quiet << EOF > build/images-vsphere.txt ${REGISTRY}/rancher/mirrored-cloud-provider-vsphere-cpi-release-manager:v1.26.1 ${REGISTRY}/rancher/mirrored-cloud-provider-vsphere-csi-release-driver:v3.0.1 @@ -70,6 +71,7 @@ xargs -n1 -t docker image pull --quiet << EOF > build/images-vsphere.txt ${REGISTRY}/rancher/mirrored-sig-storage-csi-attacher:v4.2.0 ${REGISTRY}/rancher/mirrored-sig-storage-csi-provisioner:v3.4.0 EOF +fi xargs -n1 -t docker image pull --quiet << EOF > build/images-multus.txt ${REGISTRY}/rancher/hardened-multus-cni:v4.0.2-build20231009