Update CI.yml

This commit is contained in:
tuna2134@コマリン親衛隊
2025-01-20 08:43:05 +09:00
committed by GitHub
parent 71ec658772
commit cc664fae2d

View File

@@ -27,7 +27,7 @@ jobs:
platform: platform:
- runner: ubuntu-latest - runner: ubuntu-latest
target: x86_64 target: x86_64
- runner: ubuntu-24.04-arm - runner: ubuntu-latest
target: aarch64 target: aarch64
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -130,7 +130,7 @@ jobs:
args: --non-interactive --skip-existing wheels-*/* args: --non-interactive --skip-existing wheels-*/*
push-docker: push-docker:
runs-on: ubuntu-latest runs-on: ${{ matrix.platform }}
if: "startsWith(github.ref, 'refs/tags/')" if: "startsWith(github.ref, 'refs/tags/')"
permissions: permissions:
contents: read contents: read
@@ -138,6 +138,7 @@ jobs:
strategy: strategy:
matrix: matrix:
tag: [cpu, cuda] tag: [cpu, cuda]
platform: [ubuntu-latest, ubuntu-24.04-arm]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up QEMU - name: Set up QEMU
@@ -158,4 +159,3 @@ jobs:
tags: | tags: |
ghcr.io/${{ github.repository }}:${{ matrix.tag }} ghcr.io/${{ github.repository }}:${{ matrix.tag }}
file: docker/${{ matrix.tag }}.Dockerfile file: docker/${{ matrix.tag }}.Dockerfile
platforms: linux/amd64, linux/arm64