Skip to content

Commit

Permalink
ci: use native arm64 runner for docker build (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyDjemai authored Jan 30, 2025
1 parent c01a15e commit a02e48e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -53,9 +53,6 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

Expand All @@ -70,7 +67,6 @@ jobs:
id: build
uses: docker/build-push-action@v6
with:
platforms: ${{ matrix.platform }}
cache-from: type=gha,scope=${{ matrix.platform }}
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit a02e48e

Please sign in to comment.