From 467ec9c22dfac16b1ab2c9ed8cffa1497faeeb92 Mon Sep 17 00:00:00 2001 From: le0m Date: Tue, 27 Jan 2026 00:04:01 +0100 Subject: [PATCH] chore: disable arm build of php 5.6 --- .github/workflows/publish.5.yml | 9 +++++---- .github/workflows/publish.compat.yml | 4 ++-- .github/workflows/test.5.yml | 1 - .github/workflows/test.7.yml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.5.yml b/.github/workflows/publish.5.yml index 795be94..9e5deb7 100644 --- a/.github/workflows/publish.5.yml +++ b/.github/workflows/publish.5.yml @@ -1,4 +1,4 @@ -name: Publish PHP 5 images +name: Publish PHP 5 images (amd64 only) on: workflow_run: @@ -64,7 +64,7 @@ jobs: - name: Build image and push to registry uses: docker/build-push-action@v5 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 cache-from: type=registry,ref=chialab/php:${{ matrix.version }}${{ matrix.flavor }} cache-to: type=inline context: . @@ -79,7 +79,7 @@ jobs: - name: Build dev image and push to registry uses: docker/build-push-action@v5 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 cache-to: type=inline context: ./dev build-args: | @@ -89,9 +89,10 @@ jobs: ghcr.io/chialab/php-dev:${{ matrix.version }}${{ matrix.flavor }} push: true - - name: Build xhprof image (amd64 only) and push to registry + - name: Build xhprof image and push to registry uses: docker/build-push-action@v5 with: + platforms: linux/amd64 cache-to: type=inline context: ./xhprof build-args: | diff --git a/.github/workflows/publish.compat.yml b/.github/workflows/publish.compat.yml index cc1b27f..f74b99b 100644 --- a/.github/workflows/publish.compat.yml +++ b/.github/workflows/publish.compat.yml @@ -1,4 +1,4 @@ -name: Publish compatibility images +name: Publish compatibility images (amd64 only) on: workflow_run: @@ -54,7 +54,7 @@ jobs: - name: Build image and push to registry uses: docker/build-push-action@v5 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 cache-from: type=registry,ref=chialab/php-compat:${{ matrix.version }}${{ matrix.flavor }} cache-to: type=inline context: ./compat diff --git a/.github/workflows/test.5.yml b/.github/workflows/test.5.yml index 523510f..8c5ad73 100644 --- a/.github/workflows/test.5.yml +++ b/.github/workflows/test.5.yml @@ -9,7 +9,6 @@ on: pull_request: types: [opened, synchronize] - jobs: test-5: name: Build and test PHP 5 images diff --git a/.github/workflows/test.7.yml b/.github/workflows/test.7.yml index 84037fd..385f6b1 100644 --- a/.github/workflows/test.7.yml +++ b/.github/workflows/test.7.yml @@ -16,7 +16,7 @@ jobs: if: ${{ !contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[ci skip]') }} strategy: matrix: - version: ['7.0', '7.1', '7.2', '7.3', '7.4' ] + version: [ '7.0', '7.1', '7.2', '7.3', '7.4' ] flavor: [ '', '-apache', '-fpm', '-alpine', '-fpm-alpine' ] include: - version: 'latest'