Skip to content

Commit 70ad0d6

Browse files
committed
Build containers for PHP > 8.1
1 parent 3aeefd0 commit 70ad0d6

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/create-images.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo 'Docker images will be published'
3232
PUBLISH_IMAGES=yes
3333
fi
34-
echo "::set-output name=result::$PUBLISH_IMAGES"
34+
echo "result=$PUBLISH_IMAGES" >> $GITHUB_OUTPUT
3535
3636
build-base-images:
3737
name: PHP ${{ matrix.php-version }}
@@ -52,6 +52,7 @@ jobs:
5252
# The version of libheif to be installed - see # https://github.com/strukturag/libheif/releases
5353
LIBHEIF_VERSION: 1.12.0
5454
strategy:
55+
fail-fast: false
5556
matrix:
5657
php-version:
5758
- "5.5"
@@ -63,15 +64,18 @@ jobs:
6364
- "7.4"
6465
- "8.0"
6566
- "8.1"
67+
- "8.2"
68+
- "8.3"
69+
- "8.4"
6670
steps:
6771
-
6872
name: Checkout
69-
uses: actions/checkout@v2
73+
uses: actions/checkout@v4
7074
-
7175
name: Create initial image
7276
run: |
7377
PHP_VERSION_DOCKERSUFFIX=''
74-
if [ "${{ matrix.php-version }}" = '8.1' ]; then
78+
if [ "${{ matrix.php-version }}" = '8.4' ]; then
7579
PHP_VERSION_DOCKERSUFFIX='-rc'
7680
fi
7781
docker build \
@@ -112,8 +116,8 @@ jobs:
112116
else
113117
HEIC_SUPPORT=no
114118
fi
115-
echo "::set-output name=avif-support::$AVIF_SUPPORT"
116-
echo "::set-output name=heic-support::$HEIC_SUPPORT"
119+
echo "avif-support=$AVIF_SUPPORT" >> $GITHUB_OUTPUT
120+
echo "heic-support=$HEIC_SUPPORT" >> $GITHUB_OUTPUT
117121
-
118122
name: Install git
119123
run: docker exec -t imagine-${{ matrix.php-version }} imagine-install git $GIT_VERSION
@@ -172,7 +176,7 @@ jobs:
172176
-
173177
name: Upload image
174178
if: needs.inspect.outputs.publish == 'no'
175-
uses: actions/upload-artifact@v2
179+
uses: actions/upload-artifact@v4
176180
with:
177181
name: base-image-${{ matrix.php-version }}
178182
path: /tmp/base-image-${{ matrix.php-version }}.tgz
@@ -227,6 +231,15 @@ jobs:
227231
- php-version: "8.1"
228232
graphicsmagic-version: "1.3.36"
229233
imagemagick-version: "7.1.0-8"
234+
- php-version: "8.2"
235+
graphicsmagic-version: "1.3.36"
236+
imagemagick-version: "7.1.0-8"
237+
- php-version: "8.3"
238+
graphicsmagic-version: "1.3.36"
239+
imagemagick-version: "7.1.0-8"
240+
- php-version: "8.4"
241+
graphicsmagic-version: "1.3.36"
242+
imagemagick-version: "7.1.0-8"
230243
extensions:
231244
- "gd-gmagick"
232245
- "gd-imagick"

0 commit comments

Comments
 (0)