Skip to content

Commit

Permalink
fixup?
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Jan 17, 2025
1 parent 1029fea commit 7acd287
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker_reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ on:
required: true

jobs:
build:
docker_build:
name: "Build the ${{ inputs.target }} container"
strategy:
fail-fast: false
# see https://docs.docker.com/build/ci/github-actions/multi-platform/
matrix:
os: ["[self-hosted, Linux]", "[self-hosted, macOS]"]
os: [Linux, macOS]
include:
- os: [self-hosted, Linux]
- os: Linux
platform: linux/amd64
- os: [self-hosted, macOS]
- os: macOS
platform: linux/arm64
runs-on: ${{ matrix.os }}
runs-on: "[self-hosted, ${{ matrix.os }}]"
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Add homebrew to PATH
if: ${{ matrix.os == '[self-hosted, macOS]' }}
if: ${{ matrix.os == 'macOS' }}
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
run: echo "/opt/homebrew/bin" >> "$GITHUB_PATH"

Expand Down Expand Up @@ -82,10 +82,10 @@ jobs:
if-no-files-found: error
retention-days: 1

merge:
docker_merge:
runs-on: [self-hosted, Linux]
needs:
- build
- docker_build
steps:
- name: Download digests
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 7acd287

Please sign in to comment.