Skip to content

Commit 68d8df8

Browse files
committed
Improving multi-platform support
1 parent 61f3188 commit 68d8df8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
5959
run: |-
6060
docker buildx build \
61-
--cache-from=$IMAGE_NAME:latest
61+
--cache-from=$IMAGE_NAME:latest \
6262
--push \
6363
-t $IMAGE_NAME:latest \
6464
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
@@ -72,7 +72,7 @@ jobs:
7272
if: contains(github.ref, 'refs/tags/')
7373
run: |-
7474
docker buildx build \
75-
--cache-from=$IMAGE_NAME:latest
75+
--cache-from=$IMAGE_NAME:latest \
7676
--push \
7777
-t $IMAGE_NAME:$RELEASE_VERSION \
7878
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
55

66

77
* Built on the lightweight and secure Alpine Linux distribution
8+
* Multi-platform, supporting AMD4, ARMv6, ARMv7, ARM64
89
* Very small Docker image size (+/-40MB)
910
* Uses PHP 8.0 for better performance, lower CPU usage & memory footprint
1011
* Optimized for 100 concurrent users

0 commit comments

Comments
 (0)