Skip to content

Commit e4382c6

Browse files
authored
Merge pull request #84 from laradock/fix-arm64
Fix docker image build
2 parents e789eb0 + 6224d94 commit e4382c6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/dockerimage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# "5.6", "7.0", "7.1", "7.2", "7.3",
16-
php_version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
16+
php_version: ["8.1", "8.2", "8.3", "8.4"]
1717
# continue-on-error: true
1818
steps:
1919
- name: Checkout
@@ -50,7 +50,7 @@ jobs:
5050
uses: docker/build-push-action@v5
5151
with:
5252
file: Dockerfile-${{ matrix.php_version }}
53-
# skip linux/arm64, linux/arm/v7,linux/arm/v6
54-
platforms: linux/amd64, linux/386
53+
# skip linux/arm/v7, linux/arm/v6
54+
platforms: linux/amd64, linux/386, linux/arm64
5555
push: ${{ (github.event_name != 'pull_request') && (github.repository == 'laradock/php-fpm') && (github.ref == 'refs/heads/master') }}
5656
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/dockerimage_arm.yml renamed to .github/workflows/dockerimage_without_arm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
strategy:
1414
matrix:
1515
# "5.6", "7.0", "7.1", "7.2", "7.3",
16-
php_version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
17-
continue-on-error: true
16+
php_version: ["7.4", "8.0"]
17+
# continue-on-error: true
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -51,6 +51,6 @@ jobs:
5151
with:
5252
file: Dockerfile-${{ matrix.php_version }}
5353
# platforms: linux/amd64, linux/386, linux/arm64, linux/arm/v7, linux/arm/v6
54-
platforms: linux/arm64
54+
platforms: linux/amd64, linux/386
5555
push: ${{ (github.event_name != 'pull_request') && (github.repository == 'laradock/php-fpm') && (github.ref == 'refs/heads/master') }}
5656
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)