|
@@ -14,16 +14,18 @@ env:
|
|
|
|
|
|
jobs:
|
|
|
build-main-image:
|
|
|
- runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
|
|
+ runs-on: ${{ matrix.runner }}
|
|
|
permissions:
|
|
|
contents: read
|
|
|
packages: write
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
- platform:
|
|
|
- - linux/amd64
|
|
|
- - linux/arm64
|
|
|
+ include:
|
|
|
+ - platform: linux/amd64
|
|
|
+ runner: ubuntu-latest
|
|
|
+ - platform: linux/arm64
|
|
|
+ runner: ubuntu-24.04-arm
|
|
|
|
|
|
steps:
|
|
|
# GitHub Packages requires the entire repository name to be in lowercase
|
|
@@ -111,16 +113,18 @@ jobs:
|
|
|
retention-days: 1
|
|
|
|
|
|
build-cuda-image:
|
|
|
- runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
|
|
+ runs-on: ${{ matrix.runner }}
|
|
|
permissions:
|
|
|
contents: read
|
|
|
packages: write
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
- platform:
|
|
|
- - linux/amd64
|
|
|
- - linux/arm64
|
|
|
+ include:
|
|
|
+ - platform: linux/amd64
|
|
|
+ runner: ubuntu-latest
|
|
|
+ - platform: linux/arm64
|
|
|
+ runner: ubuntu-24.04-arm
|
|
|
|
|
|
steps:
|
|
|
# GitHub Packages requires the entire repository name to be in lowercase
|
|
@@ -211,16 +215,18 @@ jobs:
|
|
|
retention-days: 1
|
|
|
|
|
|
build-cuda126-image:
|
|
|
- runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
|
|
+ runs-on: ${{ matrix.runner }}
|
|
|
permissions:
|
|
|
contents: read
|
|
|
packages: write
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
- platform:
|
|
|
- - linux/amd64
|
|
|
- - linux/arm64
|
|
|
+ include:
|
|
|
+ - platform: linux/amd64
|
|
|
+ runner: ubuntu-latest
|
|
|
+ - platform: linux/arm64
|
|
|
+ runner: ubuntu-24.04-arm
|
|
|
|
|
|
steps:
|
|
|
# GitHub Packages requires the entire repository name to be in lowercase
|
|
@@ -312,16 +318,18 @@ jobs:
|
|
|
retention-days: 1
|
|
|
|
|
|
build-ollama-image:
|
|
|
- runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
|
|
+ runs-on: ${{ matrix.runner }}
|
|
|
permissions:
|
|
|
contents: read
|
|
|
packages: write
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
- platform:
|
|
|
- - linux/amd64
|
|
|
- - linux/arm64
|
|
|
+ include:
|
|
|
+ - platform: linux/amd64
|
|
|
+ runner: ubuntu-latest
|
|
|
+ - platform: linux/arm64
|
|
|
+ runner: ubuntu-24.04-arm
|
|
|
|
|
|
steps:
|
|
|
# GitHub Packages requires the entire repository name to be in lowercase
|