@@ -83,222 +83,31 @@ jobs:
83
83
docker push "${{ env.DOCKER_REPOSITORY }}-base:${{ matrix.php-version }}-${{ matrix.flavour }}"
84
84
85
85
86
+ generate-matrix :
87
+ runs-on : ubuntu-latest
88
+ outputs :
89
+ matrix : ${{ steps.generate-matrix.outputs.matrix }}
90
+ steps :
91
+ - name : Clone
92
+ uses : actions/checkout@v3
93
+ - uses : actions/setup-node@v3
94
+ with :
95
+ node-version : ' 18'
96
+ - name : Generate matrix
97
+ id : generate-matrix
98
+ run : |
99
+ matrix=$(node bin/generate-matrix.js)
100
+ echo "matrix=${matrix}" >> $GITHUB_OUTPUT
101
+
86
102
build :
87
- needs : build-base
103
+ needs :
104
+ - build-base
105
+ - generate-matrix
88
106
runs-on : ubuntu-latest
89
107
90
108
strategy :
91
109
fail-fast : false
92
- matrix :
93
- include :
94
- - shopware-version : v6.4.6.1
95
- php-version : " 8.1"
96
- flavour : alpine
97
- template : https://github.com/shopware/production
98
- - shopware-version : v6.4.7.0
99
- php-version : " 8.1"
100
- flavour : alpine
101
- template : https://github.com/shopware/production
102
- - shopware-version : v6.4.8.2
103
- php-version : " 8.1"
104
- flavour : alpine
105
- template : https://github.com/shopware/production
106
- - shopware-version : v6.4.9.0
107
- php-version : " 8.1"
108
- flavour : alpine
109
- template : https://github.com/shopware/production
110
- - shopware-version : v6.4.10.0
111
- php-version : " 8.1"
112
- flavour : alpine
113
- template : https://github.com/shopware/production
114
- - shopware-version : v6.4.11.1
115
- php-version : " 8.1"
116
- flavour : alpine
117
- template : https://github.com/shopware/production
118
- - shopware-version : v6.4.12.0
119
- php-version : " 8.1"
120
- flavour : alpine
121
- template : https://github.com/shopware/production
122
- - shopware-version : v6.4.13.0
123
- php-version : " 8.1"
124
- flavour : alpine
125
- template : https://github.com/shopware/production
126
- - shopware-version : v6.4.14.0
127
- php-version : " 8.1"
128
- flavour : alpine
129
- template : https://github.com/shopware/production
130
- - shopware-version : v6.4.15.1
131
- php-version : " 8.1"
132
- flavour : alpine
133
- template : https://github.com/shopware/production
134
- - shopware-version : v6.4.16.1
135
- php-version : " 8.1"
136
- flavour : alpine
137
- template : https://github.com/shopware/production
138
- - shopware-version : v6.4.17.1
139
- php-version : " 8.1"
140
- flavour : alpine
141
- template : https://github.com/shopware/production
142
- - shopware-version : v6.4.18.1
143
- php-version : " 8.1"
144
- flavour : alpine
145
- template : https://github.com/shopware/production
146
- - shopware-version : v6.4.19.0
147
- php-version : " 8.1"
148
- flavour : alpine
149
- template : https://github.com/shopware/production
150
- - shopware-version : v6.4.20.2
151
- php-version : " 8.1"
152
- flavour : alpine
153
- template : https://github.com/shopware/production
154
- - shopware-version : v6.5.0.0
155
- php-version : " 8.1"
156
- flavour : alpine
157
- template : https://github.com/shopware/shopware
158
- - shopware-version : v6.5.1.1
159
- php-version : " 8.1"
160
- flavour : alpine
161
- template : https://github.com/shopware/shopware
162
- - shopware-version : v6.5.2.1
163
- php-version : " 8.1"
164
- flavour : alpine
165
- template : https://github.com/shopware/shopware
166
- - shopware-version : v6.5.3.3
167
- php-version : " 8.1"
168
- flavour : alpine
169
- template : https://github.com/shopware/shopware
170
- - shopware-version : v6.5.4.1
171
- php-version : " 8.1"
172
- flavour : alpine
173
- template : https://github.com/shopware/shopware
174
- - shopware-version : v6.5.5.2
175
- php-version : " 8.1"
176
- flavour : alpine
177
- template : https://github.com/shopware/shopware
178
- - shopware-version : v6.5.6.1
179
- php-version : " 8.1"
180
- flavour : alpine
181
- template : https://github.com/shopware/shopware
182
- - shopware-version : v6.5.7.3
183
- php-version : " 8.1"
184
- flavour : alpine
185
- template : https://github.com/shopware/shopware
186
- - shopware-version : 6.4
187
- php-version : " 8.1"
188
- flavour : alpine
189
- template : https://github.com/shopware/shopware
190
- - shopware-version : 6.5.x
191
- php-version : " 8.1"
192
- flavour : alpine
193
- template : https://github.com/shopware/shopware
194
- - shopware-version : trunk
195
- php-version : " 8.2"
196
- flavour : alpine
197
- template : https://github.com/shopware/shopware
198
- - shopware-version : v6.4.6.1
199
- php-version : " 8.1"
200
- flavour : bullseye
201
- template : https://github.com/shopware/production
202
- - shopware-version : v6.4.7.0
203
- php-version : " 8.1"
204
- flavour : bullseye
205
- template : https://github.com/shopware/production
206
- - shopware-version : v6.4.8.2
207
- php-version : " 8.1"
208
- flavour : bullseye
209
- template : https://github.com/shopware/production
210
- - shopware-version : v6.4.9.0
211
- php-version : " 8.1"
212
- flavour : bullseye
213
- template : https://github.com/shopware/production
214
- - shopware-version : v6.4.10.0
215
- php-version : " 8.1"
216
- flavour : bullseye
217
- template : https://github.com/shopware/production
218
- - shopware-version : v6.4.11.1
219
- php-version : " 8.1"
220
- flavour : bullseye
221
- template : https://github.com/shopware/production
222
- - shopware-version : v6.4.12.0
223
- php-version : " 8.1"
224
- flavour : bullseye
225
- template : https://github.com/shopware/production
226
- - shopware-version : v6.4.13.0
227
- php-version : " 8.1"
228
- flavour : bullseye
229
- template : https://github.com/shopware/production
230
- - shopware-version : v6.4.14.0
231
- php-version : " 8.1"
232
- flavour : bullseye
233
- template : https://github.com/shopware/production
234
- - shopware-version : v6.4.15.1
235
- php-version : " 8.1"
236
- flavour : bullseye
237
- template : https://github.com/shopware/production
238
- - shopware-version : v6.4.16.1
239
- php-version : " 8.1"
240
- flavour : bullseye
241
- template : https://github.com/shopware/production
242
- - shopware-version : v6.4.17.1
243
- php-version : " 8.1"
244
- flavour : bullseye
245
- template : https://github.com/shopware/production
246
- - shopware-version : v6.4.18.1
247
- php-version : " 8.1"
248
- flavour : bullseye
249
- template : https://github.com/shopware/production
250
- - shopware-version : v6.4.19.0
251
- php-version : " 8.1"
252
- flavour : bullseye
253
- template : https://github.com/shopware/production
254
- - shopware-version : v6.4.20.2
255
- php-version : " 8.1"
256
- flavour : bullseye
257
- template : https://github.com/shopware/production
258
- - shopware-version : v6.5.0.0
259
- php-version : " 8.1"
260
- flavour : bullseye
261
- template : https://github.com/shopware/shopware
262
- - shopware-version : v6.5.1.1
263
- php-version : " 8.1"
264
- flavour : bullseye
265
- template : https://github.com/shopware/shopware
266
- - shopware-version : v6.5.2.1
267
- php-version : " 8.1"
268
- flavour : bullseye
269
- template : https://github.com/shopware/shopware
270
- - shopware-version : v6.5.3.3
271
- php-version : " 8.1"
272
- flavour : bullseye
273
- template : https://github.com/shopware/shopware
274
- - shopware-version : v6.5.4.1
275
- php-version : " 8.1"
276
- flavour : bullseye
277
- template : https://github.com/shopware/shopware
278
- - shopware-version : v6.5.5.2
279
- php-version : " 8.1"
280
- flavour : bullseye
281
- template : https://github.com/shopware/shopware
282
- - shopware-version : v6.5.6.1
283
- php-version : " 8.1"
284
- flavour : bullseye
285
- template : https://github.com/shopware/shopware
286
- - shopware-version : v6.5.7.3
287
- php-version : " 8.1"
288
- flavour : bullseye
289
- template : https://github.com/shopware/shopware
290
- - shopware-version : 6.4
291
- php-version : " 8.1"
292
- flavour : bullseye
293
- template : https://github.com/shopware/shopware
294
- - shopware-version : 6.5.x
295
- php-version : " 8.1"
296
- flavour : bullseye
297
- template : https://github.com/shopware/shopware
298
- - shopware-version : trunk
299
- php-version : " 8.2"
300
- flavour : bullseye
301
- template : https://github.com/shopware/shopware
110
+ matrix : ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
302
111
303
112
steps :
304
113
- name : Clone
0 commit comments