Skip to content

Commit

Permalink
Use self-hosted runner for ARM64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Smalls1652 committed Jun 3, 2024
1 parent bb95394 commit 166c06b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish-containerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ env:
jobs:
build:
name: Build and push container image
runs-on: ubuntu-latest
runs-on: ${{ matrix.platform == 'linux/arm64' && 'self-hosted-Linux-ARM64' || 'ubuntu-latest' }}

strategy:
fail-fast: false
matrix:
platform: [linux/amd64, linux/arm64]
platform:
- "linux/amd64"
- "linux/arm64"

steps:
- name: Prepare
Expand All @@ -41,9 +43,6 @@ jobs:
with:
submodules: true

- name: Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -89,7 +88,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build

steps:
- name: Download digests
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 166c06b

Please sign in to comment.