Skip to content

Commit

Permalink
ci(docker): make multi-arch containers
Browse files Browse the repository at this point in the history
Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Oct 7, 2024
1 parent d32799f commit 2c343be
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions .github/workflows/docker-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,18 @@ permissions:

jobs:
build:
name: build_test_publish
runs-on: ubuntu-latest
name: build_${{ matrix.dockerfile }}_${{ matrix.os }}
runs-on:
group: ubuntu-runners
labels: [latest, 4core, ${{ matrix.arch }} ]
timeout-minutes: 120
strategy:
matrix:
arch:
[
'amd64',
'arm64'
]
dockerfile:
[
'coreboot_4.19',
Expand Down Expand Up @@ -123,3 +130,37 @@ jobs:
GITHUB_REGISTRY: ${{ env.REGISTRY }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

merge-multi-arch:
name: merge_multiarch
runs-on: ubuntu-latest
strategy:
matrix:
dockerfile:
[
'coreboot_4.19',
'coreboot_4.20.1',
'coreboot_4.21',
'coreboot_4.22.01',
'coreboot_24.02',
'coreboot_24.02.01',
'coreboot_24.05',
'edk2-stable202008',
'edk2-stable202105',
'edk2-stable202111',
'edk2-stable202205',
'edk2-stable202208',
'edk2-stable202211',
'edk2-stable202408',
'linux_6.1.45',
'linux_6.1.111',
'linux_6.6.52',
'linux_6.9.9',
'linux_6.11',
'udk2017',
'uroot_0.14.0'
]
needs: ['build']
steps:
- run: |
echo "${{ matrix.dockerfile}}"

0 comments on commit 2c343be

Please sign in to comment.