From 2291738b12eb056fceef44d17488f64eda4b8e37 Mon Sep 17 00:00:00 2001 From: Connor Ward Date: Fri, 13 Dec 2024 09:25:09 +0000 Subject: [PATCH] Try another approach for building mac images --- .github/workflows/docker_reuse.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_reuse.yml b/.github/workflows/docker_reuse.yml index cca733988e..d54e1caa5c 100644 --- a/.github/workflows/docker_reuse.yml +++ b/.github/workflows/docker_reuse.yml @@ -26,7 +26,12 @@ on: jobs: docker_workflow: name: "Build the ${{ inputs.target }} container" - runs-on: [self-hosted, Linux] + strategy: + matrix: + os: + - [self-hosted, Linux] + - [self-hosted, macOS] + runs-on: ${{ matrix.os }} steps: - name: Check out the repo uses: actions/checkout@v4 @@ -38,8 +43,6 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 - with: - platforms: linux/amd64,linux/arm64,darwin - name: Build and push ${{ inputs.target }} uses: docker/build-push-action@v6 with: