From 432517ec5f6d0772dc0345f50d004693b9489283 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Sun, 23 Jun 2024 15:00:07 +0200 Subject: [PATCH] .github/ Signed-off-by: Ryan Northey --- .github/workflows/docker-testing.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-testing.yml b/.github/workflows/docker-testing.yml index be0c418d6d99..c281070bee78 100644 --- a/.github/workflows/docker-testing.yml +++ b/.github/workflows/docker-testing.yml @@ -21,9 +21,13 @@ jobs: runs-on: envoy-x64-small steps: - run: | + sudo install -m 0755 -d /etc/apt/keyrings + sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc + sudo chmod a+r /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update # sudo apt show docker-ce -a sudo apt-get install -y --allow-downgrades docker-ce=5:24.0.9-1~ubuntu.22.04~jammy docker-ce-cli=5:24.0.9-1~ubuntu.22.04~jammy + sudo systemctl restart docker sudo docker --version