From 266196321532170724b3b9855c6a0fed0f79b808 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Thu, 16 Jan 2025 15:33:28 -0800 Subject: [PATCH] use arm64 GitHub Actions runners for arm64 docker image builds --- .github/workflows/dockerimage-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerimage-ci.yml b/.github/workflows/dockerimage-ci.yml index 89f941f..c889e7f 100644 --- a/.github/workflows/dockerimage-ci.yml +++ b/.github/workflows/dockerimage-ci.yml @@ -34,12 +34,17 @@ jobs: build_pr: name: "Test Build Docker images" if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || ( github.event_name != 'create' && github.event_name != 'pull_request' && github.event_name != 'schedule' ) - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: arch: - 'amd64' - 'arm64' + include: + - arch: 'amd64' + os: ubuntu-latest + - arch: 'arm64' + os: ubuntu-24.04-arm env: OWNER: '${{ github.repository_owner }}' steps: @@ -68,12 +73,17 @@ jobs: build_release: name: "Build release Docker images" if: github.event_name == 'create' && github.event.ref_type == 'tag' - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: arch: - 'amd64' - 'arm64' + include: + - arch: 'amd64' + os: ubuntu-latest + - arch: 'arm64' + os: ubuntu-24.04-arm env: TAG: ${{ github.event.ref }} OWNER: '${{ github.repository_owner }}'