Skip to content

Commit

Permalink
Try another approach for building mac images
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Dec 13, 2024
1 parent 0f61016 commit 2291738
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker_reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 2291738

Please sign in to comment.