mirror of
https://codeberg.org/icewind/php-dbg.git
synced 2026-06-03 17:24:09 +02:00
build more variants
This commit is contained in:
parent
5c56c9e8c2
commit
6a056bc9dd
2 changed files with 7 additions and 8 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['7.3', '7.4', '8.0', '8.1']
|
php-versions: ['7.3', '7.4', '8.0', '8.1']
|
||||||
|
variant: ['cli', 'apache', 'fpm']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout patch files
|
- name: Checkout patch files
|
||||||
|
|
@ -35,12 +36,13 @@ jobs:
|
||||||
- name: Patch dockerfiles
|
- name: Patch dockerfiles
|
||||||
run: |
|
run: |
|
||||||
patch -N -p1 -d php < debug.patch
|
patch -N -p1 -d php < debug.patch
|
||||||
patch -N -p1 -d php < version.patch
|
jq '. | with_entries(select(.key == "${{ matrix.php-versions }}"))' php/versions.json > php/versions.json.new
|
||||||
|
mv php/versions.json.new php/versions.json
|
||||||
cd php; ./apply-templates.sh
|
cd php; ./apply-templates.sh
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: php/${{ matrix.php-versions }}/bullseye/fpm
|
context: php/${{ matrix.php-versions }}/bullseye/${{ matrix.variant }}
|
||||||
push: true
|
push: true
|
||||||
tags: icewind1991/php-dbg:${{ matrix.php-versions }}-fpm
|
tags: icewind1991/php-dbg:${{ matrix.php-versions }}-${{ matrix.variant }}
|
||||||
|
|
@ -6,11 +6,8 @@ Docker images for php with debug symbols included
|
||||||
|
|
||||||
PHP docker images based on the official ones but with debug symbols included.
|
PHP docker images based on the official ones but with debug symbols included.
|
||||||
|
|
||||||
Currently, only has debian based fpm images
|
Currently only has debian based images
|
||||||
|
|
||||||
## Where
|
## Where
|
||||||
|
|
||||||
- `icewind1991/php-dbg:7.3-fpm`
|
https://hub.docker.com/r/icewind1991/php-dbg
|
||||||
- `icewind1991/php-dbg:7.4-fpm`
|
|
||||||
- `icewind1991/php-dbg:8.0-fpm`
|
|
||||||
- `icewind1991/php-dbg:8.1-fpm`
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue