image-builder: add staging OCI publish path (#13273)

This commit is contained in:
Srishti Jaiswal
2026-06-05 12:05:59 +05:30
committed by GitHub
parent a72ea49b2e
commit 84eede8630
5 changed files with 73 additions and 2 deletions

View File

@@ -4,7 +4,13 @@ Build and push KubeVirt VM disk images to quay.io for Kubespray CI testing.
## How It Works
The Ansible playbook downloads upstream cloud images, converts them to qcow2, resizes (+8G), wraps each in a Docker image based on `kubevirt/registry-disk-v1alpha`, and pushes to `quay.io/kubespray/vm-<os-name>:<tag>`.
The Ansible playbook downloads upstream cloud images, converts them to qcow2, resizes (+8G), wraps each in a Docker image based on `kubevirt/registry-disk-v1alpha`, and pushes to `quay.io/kubespray/vm-<os-name>:<tag>` by default. Trusted CI jobs can override the target registry for staged image publishing.
The trusted staging publish path uses Cloud Build authentication and skips `docker login`:
```bash
make push-single-staging image_name=ubuntu-2404
```
## Prerequisites