Skip to content

Commit aec0616

Browse files
committed
test matrix runs
1 parent 91407ba commit aec0616

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/build_gh_runner_images.yaml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,18 @@ jobs:
448448
continue-on-error: true
449449
#------------------------------------------------------------------------------------#
450450
build-push-debian-unstable-base:
451-
name: Push (Debian-Builder) --> Docker Hub
452-
runs-on: ubuntu-latest
453-
451+
name: Push (Debian-Builder ${{ matrix.arch }}) --> Docker Hub
452+
runs-on: ${{ matrix.runner }}
453+
strategy:
454+
matrix:
455+
include:
456+
- arch: aarch64
457+
platform: amd64
458+
runner: ubuntu-24.04-arm
459+
- arch: x86_64
460+
platform: arm64
461+
runner: ubuntu-latest
462+
454463
steps:
455464
- name: Checkout repository
456465
uses: actions/checkout@v4
@@ -508,12 +517,12 @@ jobs:
508517
with:
509518
context: /tmp/DOCKERFILES/
510519
file: "/tmp/DOCKERFILES/debian-builder-unstable.dockerfile"
511-
platforms: "linux/amd64,linux/arm64"
520+
platforms: "linux/${{ matrix.platform }}"
512521
tags: |
513-
pkgforge/debian-builder-unstable:latest
514-
pkgforge/debian-builder-unstable:latest-${{ env.DOCKER_TAG }}
515-
ghcr.io/pkgforge/devscripts/debian-builder-unstable:latest
516-
ghcr.io/pkgforge/devscripts/debian-builder-unstable:latest-${{ env.DOCKER_TAG }}
522+
pkgforge/debian-builder-unstable:${{ matrix.arch }}
523+
pkgforge/debian-builder-unstable:${{ matrix.arch }}-${{ env.DOCKER_TAG }}
524+
ghcr.io/pkgforge/devscripts/debian-builder-unstable:${{ matrix.arch }}
525+
ghcr.io/pkgforge/devscripts/debian-builder-unstable:${{ matrix.arch }}-${{ env.DOCKER_TAG }}
517526
push: true
518527
continue-on-error: true
519528
#------------------------------------------------------------------------------------#

0 commit comments

Comments
 (0)