CI: bump cirros to 0.6.1

Change-Id: I80fb1469ae4ff8d38198e495690496fcb5eadc18
This commit is contained in:
Michal Nasiadka 2023-02-14 16:09:12 +01:00
parent 0a128d24b9
commit 070036dbe7
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ fi
# to be created.
ARCH=$(uname -m)
CIRROS_RELEASE=0.6.0
CIRROS_RELEASE=0.6.1
IMAGE_PATH=/opt/cache/files/
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
@ -75,7 +75,7 @@ echo Checking for locally available cirros image.
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
IMAGE_PATH='./'
if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
echo None found, downloading cirros image.
echo "None found, downloading cirros image (version $CIRROS_RELEASE)."
curl --fail -L -o ${IMAGE_PATH}/${IMAGE} ${IMAGE_URL}/${IMAGE}
fi
else