Skip to content

Commit

Permalink
Try speeding up QEMU builds
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jan 23, 2024
1 parent 6ab24f8 commit 42f6a91
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
build-linux:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -21,11 +21,11 @@ jobs:
matrix:
platform:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64
# - linux/arm/v6
# - linux/arm/v7
# - linux/arm64

steps:
steps: &dockerBuild
- name: Prepare
run: |
platform=${{ matrix.platform }}
Expand Down Expand Up @@ -76,9 +76,25 @@ jobs:
if-no-files-found: error
retention-days: 1

build-macos:
runs-on: macos-latest
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
platform:
# - linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64

steps: *dockerBuild

merge:
runs-on: ubuntu-latest
needs: [build]
needs: [build-linux, build-macos]
steps:
- name: Download digests
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 42f6a91

Please sign in to comment.