CI: Use debian/ubuntu mirrored images on build

Change-Id: I044affa85290caf9d71e8ba5bc7cf0f5be8941e7
(cherry picked from commit ce4ff5a0b8)
This commit is contained in:
Michal Nasiadka 2024-11-29 08:25:12 +01:00
parent da337ba5fe
commit a675b34dda

View File

@ -80,7 +80,15 @@ function prepare_images {
sudo tee -a /etc/kolla/kolla-build.conf <<EOF sudo tee -a /etc/kolla/kolla-build.conf <<EOF
[DEFAULT] [DEFAULT]
engine = ${CONTAINER_ENGINE} engine = ${CONTAINER_ENGINE}
EOF
if [[ $BASE_DISTRO == "debian" || $BASE_DISTRO == "ubuntu" ]]; then
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
base_image = quay.io/openstack.kolla/${BASE_DISTRO}
EOF
fi
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
[profiles] [profiles]
gate = ${GATE_IMAGES} gate = ${GATE_IMAGES}
EOF EOF