diff --git a/.github/workflows/release_aarch64.yml b/.github/workflows/release_aarch64.yml index 3c2abf7..f3e5f9d 100644 --- a/.github/workflows/release_aarch64.yml +++ b/.github/workflows/release_aarch64.yml @@ -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