From 4db415c1dbedf87c811ed8312490e85114f55b67 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Thu, 17 Sep 2020 15:14:18 -0700 Subject: [PATCH] Only create k3s-images.txt on amd64 The list is the same across architectures, and is validated against the list in git as part of CI... so there's no reason to be pushing it from every pipeline. It's also causing conflicts when multiple pipelines try to upload it at the same time. Signed-off-by: Brad Davidson --- scripts/package-airgap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/package-airgap b/scripts/package-airgap index e5762dbe9f..9228577c81 100755 --- a/scripts/package-airgap +++ b/scripts/package-airgap @@ -9,4 +9,6 @@ airgap_image_file='scripts/airgap/image-list.txt' images=$(cat "${airgap_image_file}") xargs -n1 docker pull <<< "${images}" docker save ${images} -o dist/artifacts/k3s-airgap-images-${ARCH}.tar -cp "${airgap_image_file}" dist/artifacts/k3s-images.txt +if [ ${ARCH} = amd64 ]; then + cp "${airgap_image_file}" dist/artifacts/k3s-images.txt +fi