tests: fix issue where CI cannot install docker-buildx-plugin
This commit is contained in:
6
tests.mk
6
tests.mk
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user