image-builder: use stable Ubuntu 24.04 image (#13445)

The pinned daily Noble image was pruned and now returns HTTP 404. Use the immutable Ubuntu release build and its matching checksum instead.

Default validate-single-docker to ubuntu-2404 so the presubmit command does not need to repeat the image name.

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
Kay Yan
2026-09-01 16:48:17 +00:00
committed by GitHub
parent f7b0af0d60
commit 332387f1ab
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -63,6 +63,7 @@ validate-docker:
-e '{"kubevirt_images_push": false, "kubevirt_container_builder": "docker", "kubevirt_images_target_host": "localhost"}' \
cluster.yml
validate-single-docker: image_name ?= ubuntu-2404
validate-single-docker:
ansible-playbook -i localhost, -c local \
-e images_dir=$(CURDIR)/.image-builder \
@@ -26,9 +26,9 @@ images:
tag: "latest"
ubuntu-2404:
filename: noble-server-cloudimg-amd64.img
url: https://cloud-images.ubuntu.com/noble/20260323/noble-server-cloudimg-amd64.img
checksum: sha256:6e7016f2c9f4d3c00f48789eb6b9043ba2172ccc1b6b1eaf3ed1e29dd3e52bb3
filename: ubuntu-24.04-server-cloudimg-amd64.img
url: https://cloud-images.ubuntu.com/releases/noble/release-20260826/ubuntu-24.04-server-cloudimg-amd64.img
checksum: sha256:d0fe84bb5f80853425fa6be28e2c106f30104c3cfe8611933f2e65c9b63f0e30
converted: false
tag: "latest"