Skip to content

Commit 46e71f9

Browse files
author
Dmitrii N
committed
added 8.1
1 parent 0862db5 commit 46e71f9

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,38 @@ jobs:
3030
file: ./Dockerfile
3131
push: true
3232
platforms: linux/amd64
33-
build-args:
33+
build-args: |
3434
PHP_IMAGE=cli-alpine
3535
tags: |
3636
${{ secrets.DOCKER_HUB_ORG }}/php-grpc:latest
3737
38+
- name: Build and push PHP 8.1 with gRPC
39+
id: docker_build_81
40+
uses: docker/build-push-action@v2
41+
with:
42+
context: ./
43+
file: ./Dockerfile
44+
push: true
45+
platforms: linux/amd64
46+
build-args: |
47+
PHP_IMAGE=8.1.3-cli-alpine3.15
48+
tags: |
49+
${{ secrets.DOCKER_HUB_ORG }}/php-grpc:8.1
50+
51+
- name: Build and push PHP 8.1 with gRPC and xdebug
52+
id: docker_build_81_xdebug
53+
uses: docker/build-push-action@v2
54+
with:
55+
context: ./
56+
file: ./Dockerfile
57+
push: true
58+
platforms: linux/amd64
59+
build-args: |
60+
PHP_IMAGE=8.1.3-cli-alpine3.15
61+
XDEBUG_ENABLED=true
62+
tags: |
63+
${{ secrets.DOCKER_HUB_ORG }}/php-grpc:8.1-xdebug
64+
3865
- name: Build and push PHP 8.2 with gRPC
3966
id: docker_build_82
4067
uses: docker/build-push-action@v2
@@ -43,7 +70,7 @@ jobs:
4370
file: ./Dockerfile
4471
push: true
4572
platforms: linux/amd64
46-
build-args:
73+
build-args: |
4774
PHP_IMAGE=8.2.3-cli-alpine3.17
4875
tags: |
4976
${{ secrets.DOCKER_HUB_ORG }}/php-grpc:8.2

0 commit comments

Comments
 (0)