31
31
echo 'Docker images will be published'
32
32
PUBLISH_IMAGES=yes
33
33
fi
34
- echo "::set-output name= result:: $PUBLISH_IMAGES"
34
+ echo "result= $PUBLISH_IMAGES" >> $GITHUB_OUTPUT
35
35
36
36
build-base-images :
37
37
name : PHP ${{ matrix.php-version }}
52
52
# The version of libheif to be installed - see # https://github.com/strukturag/libheif/releases
53
53
LIBHEIF_VERSION : 1.12.0
54
54
strategy :
55
+ fail-fast : false
55
56
matrix :
56
57
php-version :
57
58
- " 5.5"
@@ -63,15 +64,18 @@ jobs:
63
64
- " 7.4"
64
65
- " 8.0"
65
66
- " 8.1"
67
+ - " 8.2"
68
+ - " 8.3"
69
+ - " 8.4"
66
70
steps :
67
71
-
68
72
name : Checkout
69
- uses : actions/checkout@v2
73
+ uses : actions/checkout@v4
70
74
-
71
75
name : Create initial image
72
76
run : |
73
77
PHP_VERSION_DOCKERSUFFIX=''
74
- if [ "${{ matrix.php-version }}" = '8.1 ' ]; then
78
+ if [ "${{ matrix.php-version }}" = '8.5 ' ]; then
75
79
PHP_VERSION_DOCKERSUFFIX='-rc'
76
80
fi
77
81
docker build \
87
91
-
88
92
name : Start container
89
93
run : docker start imagine-${{ matrix.php-version }}
94
+ -
95
+ name : Temp
96
+ run : docker exec -t imagine-${{ matrix.php-version }} ls -al /usr/local/bin/
97
+ -
98
+ name : Fix apt
99
+ run : docker exec -t imagine-${{ matrix.php-version }} imagine-fix-apt
90
100
-
91
101
name : Update apt cache
92
102
run : docker exec -t imagine-${{ matrix.php-version }} apt-get update -q
@@ -112,8 +122,8 @@ jobs:
112
122
else
113
123
HEIC_SUPPORT=no
114
124
fi
115
- echo "::set-output name= avif-support:: $AVIF_SUPPORT"
116
- echo "::set-output name= heic-support:: $HEIC_SUPPORT"
125
+ echo "avif-support= $AVIF_SUPPORT" >> $GITHUB_OUTPUT
126
+ echo "heic-support= $HEIC_SUPPORT" >> $GITHUB_OUTPUT
117
127
-
118
128
name : Install git
119
129
run : docker exec -t imagine-${{ matrix.php-version }} imagine-install git $GIT_VERSION
@@ -172,14 +182,14 @@ jobs:
172
182
-
173
183
name : Upload image
174
184
if : needs.inspect.outputs.publish == 'no'
175
- uses : actions/upload-artifact@v2
185
+ uses : actions/upload-artifact@v4
176
186
with :
177
187
name : base-image-${{ matrix.php-version }}
178
188
path : /tmp/base-image-${{ matrix.php-version }}.tgz
179
189
-
180
190
name : Login to the container registry
181
191
if : needs.inspect.outputs.publish == 'yes'
182
- uses : docker/login-action@v1
192
+ uses : docker/login-action@v3
183
193
with :
184
194
registry : ghcr.io
185
195
username : ${{ github.actor }}
@@ -227,17 +237,26 @@ jobs:
227
237
- php-version : " 8.1"
228
238
graphicsmagic-version : " 1.3.36"
229
239
imagemagick-version : " 7.1.0-8"
240
+ - php-version : " 8.2"
241
+ graphicsmagic-version : " 1.3.36"
242
+ imagemagick-version : " 7.1.0-8"
243
+ - php-version : " 8.3"
244
+ graphicsmagic-version : " 1.3.36"
245
+ imagemagick-version : " 7.1.0-8"
246
+ - php-version : " 8.4"
247
+ graphicsmagic-version : " 1.3.36"
248
+ imagemagick-version : " 7.1.0-8"
230
249
extensions :
231
250
- " gd-gmagick"
232
251
- " gd-imagick"
233
252
steps :
234
253
-
235
254
name : Checkout
236
- uses : actions/checkout@v2
255
+ uses : actions/checkout@v4
237
256
-
238
257
name : Download base image
239
258
if : needs.inspect.outputs.publish == 'no'
240
- uses : actions/download-artifact@v2
259
+ uses : actions/download-artifact@v4
241
260
with :
242
261
name : base-image-${{ matrix.config.php-version }}
243
262
path : /tmp/
@@ -301,7 +320,7 @@ jobs:
301
320
-
302
321
name : Login to the container registry
303
322
if : needs.inspect.outputs.publish == 'yes'
304
- uses : docker/login-action@v1
323
+ uses : docker/login-action@v3
305
324
with :
306
325
registry : ghcr.io
307
326
username : ${{ github.actor }}
0 commit comments