mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-06 06:22:57 +00:00
Update CI.yml
This commit is contained in:
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user