Skip to content

Commit

Permalink
Add arm64 runner to release-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga committed Sep 26, 2024
1 parent 4e22841 commit 29d4b46
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
build-container-image:
strategy:
matrix:
# TODO: Add arm64 runner
runner:
- ollama01 # arm64 runner
- ubuntu-24.04
runs-on: ${{ matrix.runner }}
env:
Expand All @@ -24,6 +24,22 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: 'Install Docker'
if: ${{ matrix.runner == 'ollama01' }}
run: |
sudo apt-get update
sudo apt-get install -y 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 -y docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
sudo apt-get install acl
sudo setfacl --modify user:$USER:rw /var/run/docker.sock
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit 29d4b46

Please sign in to comment.