Skip to content

Commit

Permalink
workaround: sdk build fail with arm platform
Browse files Browse the repository at this point in the history
Signed-off-by: vincent <[email protected]>
  • Loading branch information
CaptainVincent committed Nov 7, 2023
1 parent 8eeac36 commit f843ab0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-installable-img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -152,6 +152,8 @@ jobs:

- name: Build and push
uses: docker/bake-action@v4
env:
platforms: 'linux/amd64'
with:
files: |
release/docker-bake.hcl
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f843ab0

Please sign in to comment.