Merge pull request #1549 from erikwilson/package-airgap-image-list

Add airgap image list to release artifacts
pull/1559/head
Erik Wilson 2020-03-16 18:09:10 -07:00 committed by GitHub
commit e3a3b8221e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ cd $(dirname $0)/..
. ./scripts/version.sh
images=$(cat scripts/airgap/image-list.txt)
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