Skip to content

Commit

Permalink
ci: Use qemu instead of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jun 4, 2024
1 parent b600686 commit a719279
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/release_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,15 @@ jobs:
with:
platforms: arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: .
load: true
platforms: linux/arm64
tags: lablup/backend.ai-hook:latest

- uses: actions/checkout@v4

- name: Build libbaihook
run: |
docker run --rm -v "$(pwd)" lablup/backend.ai-hook:latest /bin/bash -c "./build.sh ${{ matrix.os }}"
sudo apt-get update
sudo apt-get install -y qemu-user-static
sudo update-binfmts --enable qemu-arm
sudo update-binfmts --enable qemu-aarch64
./build.sh ${{ matrix.os }}
rm -rf Makefile
- name: Release to GitHub
Expand Down

0 comments on commit a719279

Please sign in to comment.