Skip to content

[Fix] Add aarch64 (ARM64) support: auto-enable ONNX Runtime to fix SIGSEGV #3

[Fix] Add aarch64 (ARM64) support: auto-enable ONNX Runtime to fix SIGSEGV

[Fix] Add aarch64 (ARM64) support: auto-enable ONNX Runtime to fix SIGSEGV #3

Workflow file for this run

name: Docker aarch64
on:
release:
types: [published]
push:
branches: ["main"]
paths:
- "deploy/docker/aarch64/**"
- ".github/workflows/docker-aarch64.yml"
pull_request:
branches: ["main"]
paths:
- "deploy/docker/aarch64/**"
- ".github/workflows/docker-aarch64.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
if: github.event_name == 'release'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
flavor: |
suffix=-aarch64
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: deploy/docker/aarch64/Dockerfile
platforms: linux/arm64
push: ${{ github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max