Parameterize the remaining Docker Hub base images so CI can pull them from
the ghcr.io mirror without hardcoding it in the Dockerfiles:
* kata-deploy/{Dockerfile,Dockerfile.components}, kata-monitor, kata-debug,
kubectl, kata-webhook, dracut and the build-kata-deploy (dockerbuild)
helper now use ARG IMAGE_REGISTRY=docker.io + FROM ${IMAGE_REGISTRY}/...
* their build scripts pass --build-arg IMAGE_REGISTRY only when the env var
is set (default behavior unchanged for local builds)
* the build-kata-deploy-components CI jobs and publish-kata-images set
IMAGE_REGISTRY=ghcr.io/kata-containers
The gcr.io/distroless runtime bases are intentionally left untouched.
Authored-by: Cursor <cursor@cursor.com>
Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>