mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
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 <brad.davidson@rancher.com>
This commit is contained in:
parent
e0a9060d59
commit
4db415c1db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user