From 99af5fc5f579e03d5fa4501765a1ed7db7f68186 Mon Sep 17 00:00:00 2001 From: David Mays Date: Tue, 16 Apr 2024 11:40:26 +0100 Subject: [PATCH] Install Docker manually on ARM (temporary) --- .github/workflows/build-multiarch.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build-multiarch.yaml b/.github/workflows/build-multiarch.yaml index e9d2256..db6cd50 100644 --- a/.github/workflows/build-multiarch.yaml +++ b/.github/workflows/build-multiarch.yaml @@ -49,6 +49,21 @@ jobs: permissions: packages: write steps: + - name: Install Docker (Github ARM Only) + if: ${{ matrix.runs_on.runner_type == 'arm64-runner' }} + run: | + sudo apt-get update + sudo apt-get install ca-certificates curl + 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-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + - name: Login to GHCR uses: docker/login-action@v3 with: