fix(build): try using ARM runner for building docker

pull/1230/head^2
Elian Doran 2025-02-20 17:02:34 +07:00
parent f6b6b2e740
commit ca1d5207d8
No known key found for this signature in database
1 changed files with 35 additions and 32 deletions

@ -100,24 +100,27 @@ jobs:
build:
name: Build Docker images
runs-on: ubuntu-latest
needs:
- test_docker
permissions:
contents: read
packages: write
attestations: write
id-token: write
strategy:
fail-fast: false
matrix:
include:
- dockerfile: Dockerfile.alpine
platform: linux/amd64
image: ubuntu-latest
- dockerfile: Dockerfile
platform: linux/arm64
image: ubuntu-24.04-arm
- dockerfile: Dockerfile
platform: linux/arm/v7
image: ubuntu-24.04-arm
runs-on: ${{ matrix.image }}
needs:
- test_docker
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Prepare
run: |