Skip to content

Commit a719279

Browse files
committed
ci: Use qemu instead of docker
1 parent b600686 commit a719279

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/release_aarch64.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,15 @@ jobs:
1616
with:
1717
platforms: arm64
1818

19-
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@v2
21-
22-
- name: Build Docker image
23-
uses: docker/build-push-action@v4
24-
with:
25-
context: .
26-
load: true
27-
platforms: linux/arm64
28-
tags: lablup/backend.ai-hook:latest
29-
3019
- uses: actions/checkout@v4
3120

3221
- name: Build libbaihook
3322
run: |
34-
docker run --rm -v "$(pwd)" lablup/backend.ai-hook:latest /bin/bash -c "./build.sh ${{ matrix.os }}"
23+
sudo apt-get update
24+
sudo apt-get install -y qemu-user-static
25+
sudo update-binfmts --enable qemu-arm
26+
sudo update-binfmts --enable qemu-aarch64
27+
./build.sh ${{ matrix.os }}
3528
rm -rf Makefile
3629
3730
- name: Release to GitHub

0 commit comments

Comments
 (0)