From 8948865c4aa9c90cd93b2fd36f55f36f27e9b128 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Sat, 6 Jan 2024 01:15:52 -0500 Subject: [PATCH] chore: add arm64 build images --- .github/workflows/api.yaml | 5 ++++- .github/workflows/core.yaml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 1793b42..5435d51 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -40,11 +40,14 @@ jobs: - name: Configure Rust and Cargo uses: dtolnay/rust-toolchain@stable + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 + - name: Configure Docker uses: docker/setup-buildx-action@v2 with: version: latest - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 - name: Login to tale.me uses: docker/login-action@v2 diff --git a/.github/workflows/core.yaml b/.github/workflows/core.yaml index eed192b..76a9cbe 100644 --- a/.github/workflows/core.yaml +++ b/.github/workflows/core.yaml @@ -81,10 +81,14 @@ jobs: env: MANIFEST_BASE64: ${{ secrets.CORE_MANIFEST }} + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 + - name: Configure Docker uses: docker/setup-buildx-action@v2 with: version: latest + platforms: linux/amd64,linux/arm64 - name: Build us-east4-docker.pkg.dev/aarnavtale/canister/core uses: docker/build-push-action@v4