mirror of
https://github.com/thomisus/Docker-DocumentServer.git
synced 2026-07-10 01:29:00 +00:00
Build: get runner specification from the matrix
This commit is contained in:
parent
0bf51cae5e
commit
f63607aecc
1 changed files with 6 additions and 1 deletions
7
.github/workflows/4testing-build.yml
vendored
7
.github/workflows/4testing-build.yml
vendored
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
|
||||
build:
|
||||
name: "Build ${{ matrix.image }}-${{ matrix.edition }}:${{ matrix.platform }}"
|
||||
runs-on: ${{ (matrix.platform == 'arm64') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.runner }}
|
||||
needs: prepare
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -92,6 +92,11 @@ jobs:
|
|||
image: ["documentserver"]
|
||||
edition: ${{ fromJSON(needs.prepare.outputs.editions) }}
|
||||
platform: ${{ fromJSON(needs.prepare.outputs.platforms) }}
|
||||
include:
|
||||
- platform: amd64
|
||||
runner: ubuntu-latest
|
||||
- platform: arm64
|
||||
runner: ubuntu-24.04-arm
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue