From f843ab0eb0063de43ea94c406f5caddc8a068635 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 6 Nov 2023 03:39:59 +0800 Subject: [PATCH] workaround: sdk build fail with arm platform Signed-off-by: vincent --- .github/workflows/build-installable-img.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-installable-img.yml b/.github/workflows/build-installable-img.yml index 543397049..25974a5bf 100644 --- a/.github/workflows/build-installable-img.yml +++ b/.github/workflows/build-installable-img.yml @@ -97,7 +97,7 @@ jobs: uses: docker/bake-action@v4 env: plugin: ${{ matrix.plugin }} - platforms: ${{ (matrix.plugin == 'wasi_nn-pytorch' || matrix.plugin == 'wasi_nn-ggml') && 'linux/amd64' || 'linux/amd64,linux/arm64' }} + platforms: 'linux/amd64' with: files: | release/docker-bake.hcl @@ -152,6 +152,8 @@ jobs: - name: Build and push uses: docker/bake-action@v4 + env: + platforms: 'linux/amd64' with: files: | release/docker-bake.hcl @@ -212,7 +214,7 @@ jobs: uses: docker/bake-action@v4 env: plugin: ${{ matrix.plugin }} - platforms: ${{ (matrix.plugin == 'wasi_nn-pytorch' || matrix.plugin == 'wasi_nn-ggml') && 'linux/amd64' || 'linux/amd64,linux/arm64' }} + platforms: 'linux/amd64' with: files: | release/docker-bake.hcl