Skip to content

Commit

Permalink
Install Docker manually on ARM (temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-maisy committed Apr 16, 2024
1 parent deb28f0 commit 99af5fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-multiarch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 99af5fc

Please sign in to comment.