tests: fix issue where CI cannot install docker-buildx-plugin

This commit is contained in:
Jose Diaz-Gonzalez
2024-02-05 14:31:29 -05:00
parent 3d99ea63bd
commit 28532a56a9
3 changed files with 5 additions and 5 deletions

View File

@@ -43,14 +43,14 @@ else
endif
endif
ci-dependencies: bats shellcheck xmlstarlet docker-compose-apt-repo
ci-dependencies: bats shellcheck xmlstarlet docker-apt-repo
docker-compose-apt-repo:
docker-apt-repo:
ifdef INSTALL_DOCKER_REPO
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor --yes -o /usr/share/keyrings/docker.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(shell . /etc/os-release && echo "$$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt-get -qq -y --no-install-recommends install docker-compose-plugin
sudo apt-get -qq -y --no-install-recommends install docker-buildx-plugin docker-compose-plugin
endif
setup-deploy-tests: