From fcfdef90e6b9de6a3ac926b1567e38430eb611de Mon Sep 17 00:00:00 2001 From: Tom Close Date: Fri, 2 Aug 2024 11:26:48 +1000 Subject: [PATCH] rollback docker version --- .github/workflows/ci-cd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9d438bb..c81b5c0 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -26,6 +26,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Rollback Docker version to v24.x (required until XNAT CS bug is fixed) + run: | + sudo apt-get update + sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + sudo apt-get update + sudo apt-get install -y docker-ce=5:24.* docker-ce-cli=5:24.* containerd.io - name: Check Docker version run: docker --version - name: Unset header