Skip to content

add aarch64 image

add aarch64 image #3

Workflow file for this run

name: CI
on: push
jobs:
manylinux:
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- os: "ubuntu-22.04"
arch: "x86_64"
- os: "ubuntu-22.04-arm"
arch: "aarch64"
steps:
- uses: actions/checkout@v4
- run: docker compose build --build-arg="ARCH=${{ matrix.platform.arch }}"
- if: github.repository == 'spatial-model-editor/sme_manylinux' && github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/'))
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- if: github.repository == 'spatial-model-editor/sme_manylinux' && github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/'))
run: |

Check failure on line 25 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 25, Col: 14): Unrecognized named-value: 'ARCH'. Located at position 1 within expression: ARCH
docker compose build . --build-arg="ARCH=${{ARCH}}" -t ghcr.io/spatial-model-editor/manylinux_${{ matrix.platform.arch }}:${{ github.ref_name }}
docker compose push ghcr.io/spatial-model-editor/manylinux_${{ matrix.platform.arch }}:${{ github.ref_name }}