Skip to content

Commit 9df8c5f

Browse files
committed
Added ZTS variants to images
1 parent de29e5d commit 9df8c5f

File tree

4 files changed

+120
-32
lines changed

4 files changed

+120
-32
lines changed

.github/workflows/php81.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12+
strategy:
13+
matrix:
14+
variant:
15+
- platform: 'linux/amd64,linux/arm64'
16+
image: 8.1-cli-alpine3.21
17+
tags: |
18+
ghcr.io/php-etl/php-grpc:8.1-cli
19+
- platform: 'linux/amd64,linux/arm64'
20+
image: 8.1-zts-alpine3.21
21+
tags: |
22+
ghcr.io/php-etl/php-grpc:8.1-zts
23+
1224
steps:
1325
- uses: actions/checkout@v2
1426

@@ -28,15 +40,26 @@ jobs:
2840
context: ./
2941
file: ./Dockerfile
3042
push: true
31-
platforms: linux/amd64,linux/arm64
43+
platforms: ${{ matrix.variant.platform }}
3244
build-args: |
33-
PHP_IMAGE=8.1-cli-alpine3.21
34-
tags: |
35-
ghcr.io/spiral/php-grpc:8.1
45+
PHP_IMAGE=${{ matrix.variant.image }}
46+
tags: ${{ matrix.variant.tags }}
3647

3748
build_xdebug:
3849
runs-on: ubuntu-latest
3950

51+
strategy:
52+
matrix:
53+
variant:
54+
- platform: 'linux/amd64,linux/arm64'
55+
image: 8.1-cli-alpine3.21
56+
tags: |
57+
ghcr.io/php-etl/php-grpc:8.1-cli-xdebug
58+
- platform: 'linux/amd64,linux/arm64'
59+
image: 8.1-zts-alpine3.21
60+
tags: |
61+
ghcr.io/php-etl/php-grpc:8.1-zts-xdebug
62+
4063
steps:
4164
- uses: actions/checkout@v2
4265

@@ -56,9 +79,8 @@ jobs:
5679
context: ./
5780
file: ./Dockerfile
5881
push: true
59-
platforms: linux/amd64,linux/arm64
82+
platforms: ${{ matrix.variant.platform }}
6083
build-args: |
61-
PHP_IMAGE=8.1-cli-alpine3.21
84+
PHP_IMAGE=${{ matrix.variant.image }}
6285
XDEBUG_ENABLED=true
63-
tags: |
64-
ghcr.io/spiral/php-grpc:8.1
86+
tags: ${{ matrix.variant.tags }}

.github/workflows/php82.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12+
strategy:
13+
matrix:
14+
variant:
15+
- platform: 'linux/amd64,linux/arm64'
16+
image: 8.2-cli-alpine3.21
17+
tags: |
18+
ghcr.io/php-etl/php-grpc:8.2-cli
19+
- platform: 'linux/amd64,linux/arm64'
20+
image: 8.2-zts-alpine3.21
21+
tags: |
22+
ghcr.io/php-etl/php-grpc:8.2-zts
23+
1224
steps:
1325
- uses: actions/checkout@v2
1426

@@ -28,15 +40,26 @@ jobs:
2840
context: ./
2941
file: ./Dockerfile
3042
push: true
31-
platforms: linux/amd64,linux/arm64
43+
platforms: ${{ matrix.variant.platform }}
3244
build-args: |
33-
PHP_IMAGE=8.2-cli-alpine3.21
34-
tags: |
35-
ghcr.io/spiral/php-grpc:8.2
45+
PHP_IMAGE=${{ matrix.variant.image }}
46+
tags: ${{ matrix.variant.tags }}
3647

3748
build_xdebug:
3849
runs-on: ubuntu-latest
3950

51+
strategy:
52+
matrix:
53+
variant:
54+
- platform: 'linux/amd64,linux/arm64'
55+
image: 8.2-cli-alpine3.21
56+
tags: |
57+
ghcr.io/php-etl/php-grpc:8.2-cli-xdebug
58+
- platform: 'linux/amd64,linux/arm64'
59+
image: 8.2-zts-alpine3.21
60+
tags: |
61+
ghcr.io/php-etl/php-grpc:8.2-zts-xdebug
62+
4063
steps:
4164
- uses: actions/checkout@v2
4265

@@ -56,9 +79,8 @@ jobs:
5679
context: ./
5780
file: ./Dockerfile
5881
push: true
59-
platforms: linux/amd64,linux/arm64
82+
platforms: ${{ matrix.variant.platform }}
6083
build-args: |
61-
PHP_IMAGE=8.2-cli-alpine3.21
84+
PHP_IMAGE=${{ matrix.variant.image }}
6285
XDEBUG_ENABLED=true
63-
tags: |
64-
ghcr.io/spiral/php-grpc:8.2
86+
tags: ${{ matrix.variant.tags }}

.github/workflows/php83.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12+
strategy:
13+
matrix:
14+
variant:
15+
- platform: 'linux/amd64,linux/arm64'
16+
image: 8.3-cli-alpine3.21
17+
tags: |
18+
ghcr.io/php-etl/php-grpc:8.3-cli
19+
- platform: 'linux/amd64,linux/arm64'
20+
image: 8.3-zts-alpine3.21
21+
tags: |
22+
ghcr.io/php-etl/php-grpc:8.3-zts
23+
1224
steps:
1325
- uses: actions/checkout@v2
1426

@@ -28,15 +40,26 @@ jobs:
2840
context: ./
2941
file: ./Dockerfile
3042
push: true
31-
platforms: linux/amd64,linux/arm64
43+
platforms: ${{ matrix.variant.platform }}
3244
build-args: |
33-
PHP_IMAGE=8.3-cli-alpine3.21
34-
tags: |
35-
ghcr.io/spiral/php-grpc:8.3
45+
PHP_IMAGE=${{ matrix.variant.image }}
46+
tags: ${{ matrix.variant.tags }}
3647

3748
build_xdebug:
3849
runs-on: ubuntu-latest
3950

51+
strategy:
52+
matrix:
53+
variant:
54+
- platform: 'linux/amd64,linux/arm64'
55+
image: 8.3-cli-alpine3.21
56+
tags: |
57+
ghcr.io/php-etl/php-grpc:8.3-cli-xdebug
58+
- platform: 'linux/amd64,linux/arm64'
59+
image: 8.3-zts-alpine3.21
60+
tags: |
61+
ghcr.io/php-etl/php-grpc:8.3-zts-xdebug
62+
4063
steps:
4164
- uses: actions/checkout@v2
4265

@@ -56,9 +79,8 @@ jobs:
5679
context: ./
5780
file: ./Dockerfile
5881
push: true
59-
platforms: linux/amd64,linux/arm64
82+
platforms: ${{ matrix.variant.platform }}
6083
build-args: |
61-
PHP_IMAGE=8.3-cli-alpine3.21
84+
PHP_IMAGE=${{ matrix.variant.image }}
6285
XDEBUG_ENABLED=true
63-
tags: |
64-
ghcr.io/spiral/php-grpc:8.3
86+
tags: ${{ matrix.variant.tags }}

.github/workflows/php84.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12+
strategy:
13+
matrix:
14+
variant:
15+
- platform: 'linux/amd64,linux/arm64'
16+
image: 8.4-cli-alpine3.21
17+
tags: |
18+
ghcr.io/php-etl/php-grpc:8.4-cli
19+
- platform: 'linux/amd64,linux/arm64'
20+
image: 8.4-zts-alpine3.21
21+
tags: |
22+
ghcr.io/php-etl/php-grpc:8.4-zts
23+
1224
steps:
1325
- uses: actions/checkout@v2
1426

@@ -28,15 +40,26 @@ jobs:
2840
context: ./
2941
file: ./Dockerfile
3042
push: true
31-
platforms: linux/amd64,linux/arm64
43+
platforms: ${{ matrix.variant.platform }}
3244
build-args: |
33-
PHP_IMAGE=8.4-cli-alpine3.21
34-
tags: |
35-
ghcr.io/spiral/php-grpc:8.4
45+
PHP_IMAGE=${{ matrix.variant.image }}
46+
tags: ${{ matrix.variant.tags }}
3647

3748
build_xdebug:
3849
runs-on: ubuntu-latest
3950

51+
strategy:
52+
matrix:
53+
variant:
54+
- platform: 'linux/amd64,linux/arm64'
55+
image: 8.4-cli-alpine3.21
56+
tags: |
57+
ghcr.io/php-etl/php-grpc:8.4-cli-xdebug
58+
- platform: 'linux/amd64,linux/arm64'
59+
image: 8.4-zts-alpine3.21
60+
tags: |
61+
ghcr.io/php-etl/php-grpc:8.4-zts-xdebug
62+
4063
steps:
4164
- uses: actions/checkout@v2
4265

@@ -56,9 +79,8 @@ jobs:
5679
context: ./
5780
file: ./Dockerfile
5881
push: true
59-
platforms: linux/amd64,linux/arm64
82+
platforms: ${{ matrix.variant.platform }}
6083
build-args: |
61-
PHP_IMAGE=8.4-cli-alpine3.21
84+
PHP_IMAGE=${{ matrix.variant.image }}
6285
XDEBUG_ENABLED=true
63-
tags: |
64-
ghcr.io/spiral/php-grpc:8.4
86+
tags: ${{ matrix.variant.tags }}

0 commit comments

Comments
 (0)