CI: Use debian/ubuntu mirrored images on build
Change-Id: I044affa85290caf9d71e8ba5bc7cf0f5be8941e7 (cherry picked from commit ce4ff5a0b82d12d1399506b270aaf763a3b7304c)
This commit is contained in:
parent
da337ba5fe
commit
a675b34dda
@ -80,7 +80,15 @@ function prepare_images {
|
||||
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
|
||||
[DEFAULT]
|
||||
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]
|
||||
gate = ${GATE_IMAGES}
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user