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: build:
name: Build Docker images name: Build Docker images
runs-on: ubuntu-latest
needs:
- test_docker
permissions:
contents: read
packages: write
attestations: write
id-token: write
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- dockerfile: Dockerfile.alpine - dockerfile: Dockerfile.alpine
platform: linux/amd64 platform: linux/amd64
image: ubuntu-latest
- dockerfile: Dockerfile - dockerfile: Dockerfile
platform: linux/arm64 platform: linux/arm64
image: ubuntu-24.04-arm
- dockerfile: Dockerfile - dockerfile: Dockerfile
platform: linux/arm/v7 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: steps:
- name: Prepare - name: Prepare
run: | run: |