Skip to content

Commit

Permalink
feat: build on docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jun 4, 2024
1 parent 65f3047 commit 7bd497a
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,27 @@ jobs:
target: ["aarch64"]
os: ["ubuntu18.04", "ubuntu20.04", "ubuntu22.04", "alpine"]
steps:
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
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: |
./build.sh ${{ matrix.os }}
docker run --rm -v "$(pwd)" lablup/backend.ai-hook:latest /bin/bash -c "./build.sh ${{ matrix.os }}"
rm -rf Makefile
- name: Release to GitHub
Expand Down

0 comments on commit 7bd497a

Please sign in to comment.