arm container building

This commit is contained in:
Andy Pack 2025-03-15 14:12:03 +00:00
parent e36515e6ab
commit 197d65220a
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

@ -5,12 +5,12 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.arch }}
name: Build & Unit Test
strategy:
fail-fast: false
matrix:
dotnet-version: [ '8.0.x' ]
arch: ['ubuntu-latest', 'ubuntu-latest-arm']
steps:
- uses: actions/checkout@v4
@ -32,8 +32,11 @@ jobs:
build-Docker:
runs-on: ubuntu-latest
runs-on: ${{ matrix.arch }}
name: Build Containers
strategy:
matrix:
arch: ['ubuntu-latest', 'ubuntu-latest-arm']
needs: [build] # for ignoring bad builds
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))