Skip to content

Commit 2b66a54

Browse files
Merge pull request #1218 from getsentry/gha
use free arm workers for image build
2 parents cf3fc49 + 290540a commit 2b66a54

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/image.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ jobs:
1414
image:
1515
strategy:
1616
matrix:
17-
arch: [amd64, arm64]
18-
runs-on: ubuntu-latest
17+
include:
18+
- {arch: amd64, os: ubuntu-latest}
19+
- {arch: arm64, os: ubuntu-24.04-arm}
20+
runs-on: ${{ matrix.os }}
1921
steps:
2022
- uses: actions/checkout@v3
21-
- name: enable cross build
22-
run: docker run --rm --privileged tonistiigi/binfmt --install arm64
23-
if: matrix.arch == 'arm64'
2423
- name: login
2524
run: docker login --username '${{ github.actor }}' --password-stdin ghcr.io <<< '${{ secrets.GITHUB_TOKEN }}'
2625
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)