1
0
mirror of https://github.com/rancher/rke.git synced 2025-10-20 18:40:43 +00:00

upload rke extended images list on tag

This commit is contained in:
Kinara Shah
2025-09-24 10:10:10 -07:00
parent e97ed81e43
commit 65f602dc7a
2 changed files with 19 additions and 0 deletions

18
scripts/create-imageslist.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# This script will create a txt file with RKE extended life images.
set -e -x
IMAGES_LIST_FILE="./build/bin/rke-extended-life-images.txt"
# Ensure the build directory exists
mkdir -p ./build/bin
echo "Creating ${IMAGES_LIST_FILE}"
# The command to generate a unique list of sorted images after removing noiro/aci images.
./bin/rke config --system-images --all | grep -Eo '^[^ ]+/.+' | grep -v '^noiro/' | sort | uniq > "$IMAGES_LIST_FILE"
echo "Done creating ${IMAGES_LIST_FILE}"
# Display the content of the generated file
cat "$IMAGES_LIST_FILE"

View File

@@ -10,3 +10,4 @@ SUFFIX=""
[ "${ARCH}" != "amd64" ] && SUFFIX="_${ARCH}"
./scripts/create-releasenote.sh
./scripts/create-imageslist.sh