Run for multiple architectures
Change-Id: Iac2add790ce6bc24e822f15ec0d6cc349bd7ab72
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
diff --git a/ci-dockerfiles-deployment/builders.sh b/ci-dockerfiles-deployment/builders.sh
index b9843ae..dfb0ce0 100755
--- a/ci-dockerfiles-deployment/builders.sh
+++ b/ci-dockerfiles-deployment/builders.sh
@@ -29,12 +29,14 @@
sudo yum install dpkg-dev -y -q
fi
+host_arch=$(dpkg-architecture -qDEB_HOST_ARCH)
if ! type aws
then
sudo yum update -y -q
sudo yum install unzip -y -q
- curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
+ arch=$(uname -m)
+ curl "https://awscli.amazonaws.com/awscli-exe-linux-${arch}.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
sudo ./aws/install
fi
@@ -79,7 +81,7 @@
done
update_images="$(echo "${update_images}" | tr " " "\n" | sort -u)"
-host_arch=$(dpkg-architecture -qDEB_HOST_ARCH)
+
for image in ${update_images}; do
(