mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
chore: disable arm build of php 5.6
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,7 +9,6 @@ on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
|
||||
jobs:
|
||||
test-5:
|
||||
name: Build and test PHP 5 images
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user