@@ -95,206 +95,33 @@ jobs:
9595 docker push "${{ env.DOCKER_REPOSITORY }}-base:${{ matrix.php-version }}-${{ matrix.flavour }}"
9696
9797
98- build :
98+ generate-matrix :
9999 needs : build-base
100100 runs-on : ubuntu-latest
101101
102+ steps :
103+ - name : Create matrix
104+ id : create_matrix
105+ uses : fabiocaccamo/create-matrix-action@v5
106+ with :
107+ matrix : |
108+ flavour {alpine, debian} php-version {8.1}, template {https://github.com/shopware/shopware}, shopware-version {6.5.x, v6.5.0.0, v6.5.1.1, v6.5.2.1, v6.5.3.3, v6.5.4.1, v6.5.5.2, v6.5.6.1, v6.5.7.4, v6.5.8.18}
109+ flavour {alpine, debian} php-version {8.3}, template {https://github.com/shopware/shopware}, shopware-version {6.6.x, v6.6.0.3, v6.6.1.2, v6.6.2.0, v6.6.3.1, v6.6.4.1, v6.6.5.1, v6.6.6.1, v6.6.7.1, v6.6.8.2, v6.6.9.0, v6.6.10.5}
110+ flavour {alpine, debian} php-version {8.3}, template {https://github.com/shopware/shopware}, shopware-version {v6.7.0.1}
111+ flavour {alpine, debian} php-version {8.3}, template {https://github.com/shopware/shopware}, shopware-version {trunk}
112+
113+ outputs :
114+ matrix : ${{ steps.create_matrix.outputs.matrix }}
115+
116+
117+ build :
118+ needs : generate-matrix
119+ runs-on : ubuntu-latest
120+
102121 strategy :
103122 fail-fast : false
104123 matrix :
105- include :
106- - shopware-version : v6.5.0.0
107- php-version : " 8.1"
108- flavour : alpine
109- template : https://github.com/shopware/shopware
110- - shopware-version : v6.5.1.1
111- php-version : " 8.1"
112- flavour : alpine
113- template : https://github.com/shopware/shopware
114- - shopware-version : v6.5.2.1
115- php-version : " 8.1"
116- flavour : alpine
117- template : https://github.com/shopware/shopware
118- - shopware-version : v6.5.3.3
119- php-version : " 8.1"
120- flavour : alpine
121- template : https://github.com/shopware/shopware
122- - shopware-version : v6.5.4.1
123- php-version : " 8.1"
124- flavour : alpine
125- template : https://github.com/shopware/shopware
126- - shopware-version : v6.5.5.2
127- php-version : " 8.1"
128- flavour : alpine
129- template : https://github.com/shopware/shopware
130- - shopware-version : v6.5.6.1
131- php-version : " 8.1"
132- flavour : alpine
133- template : https://github.com/shopware/shopware
134- - shopware-version : v6.5.7.4
135- php-version : " 8.1"
136- flavour : alpine
137- template : https://github.com/shopware/shopware
138- - shopware-version : v6.5.8.18
139- php-version : " 8.1"
140- flavour : alpine
141- template : https://github.com/shopware/shopware
142- - shopware-version : v6.6.0.3
143- php-version : " 8.3"
144- flavour : alpine
145- template : https://github.com/shopware/shopware
146- - shopware-version : v6.6.1.2
147- php-version : " 8.3"
148- flavour : alpine
149- template : https://github.com/shopware/shopware
150- - shopware-version : v6.6.2.0
151- php-version : " 8.3"
152- flavour : alpine
153- template : https://github.com/shopware/shopware
154- - shopware-version : v6.6.3.1
155- php-version : " 8.3"
156- flavour : alpine
157- template : https://github.com/shopware/shopware
158- - shopware-version : v6.6.4.1
159- php-version : " 8.3"
160- flavour : alpine
161- template : https://github.com/shopware/shopware
162- - shopware-version : v6.6.5.1
163- php-version : " 8.3"
164- flavour : alpine
165- template : https://github.com/shopware/shopware
166- - shopware-version : v6.6.6.1
167- php-version : " 8.3"
168- flavour : alpine
169- template : https://github.com/shopware/shopware
170- - shopware-version : v6.6.7.1
171- php-version : " 8.3"
172- flavour : alpine
173- template : https://github.com/shopware/shopware
174- - shopware-version : v6.6.8.2
175- php-version : " 8.3"
176- flavour : alpine
177- template : https://github.com/shopware/shopware
178- - shopware-version : v6.6.9.0
179- php-version : " 8.3"
180- flavour : alpine
181- template : https://github.com/shopware/shopware
182- - shopware-version : v6.6.10.5
183- php-version : " 8.3"
184- flavour : alpine
185- template : https://github.com/shopware/shopware
186- - shopware-version : v6.7.0.1
187- php-version : " 8.3"
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 : 6.6.x
195- php-version : " 8.3"
196- flavour : alpine
197- template : https://github.com/shopware/shopware
198- - shopware-version : trunk
199- php-version : " 8.3"
200- flavour : alpine
201- template : https://github.com/shopware/shopware
202- - shopware-version : v6.5.0.0
203- php-version : " 8.1"
204- flavour : debian
205- template : https://github.com/shopware/shopware
206- - shopware-version : v6.5.1.1
207- php-version : " 8.1"
208- flavour : debian
209- template : https://github.com/shopware/shopware
210- - shopware-version : v6.5.2.1
211- php-version : " 8.1"
212- flavour : debian
213- template : https://github.com/shopware/shopware
214- - shopware-version : v6.5.3.3
215- php-version : " 8.1"
216- flavour : debian
217- template : https://github.com/shopware/shopware
218- - shopware-version : v6.5.4.1
219- php-version : " 8.1"
220- flavour : debian
221- template : https://github.com/shopware/shopware
222- - shopware-version : v6.5.5.2
223- php-version : " 8.1"
224- flavour : debian
225- template : https://github.com/shopware/shopware
226- - shopware-version : v6.5.6.1
227- php-version : " 8.1"
228- flavour : debian
229- template : https://github.com/shopware/shopware
230- - shopware-version : v6.5.7.4
231- php-version : " 8.1"
232- flavour : debian
233- template : https://github.com/shopware/shopware
234- - shopware-version : v6.5.8.18
235- php-version : " 8.1"
236- flavour : debian
237- template : https://github.com/shopware/shopware
238- - shopware-version : v6.6.0.3
239- php-version : " 8.3"
240- flavour : debian
241- template : https://github.com/shopware/shopware
242- - shopware-version : v6.6.1.2
243- php-version : " 8.3"
244- flavour : debian
245- template : https://github.com/shopware/shopware
246- - shopware-version : v6.6.2.0
247- php-version : " 8.3"
248- flavour : debian
249- template : https://github.com/shopware/shopware
250- - shopware-version : v6.6.3.1
251- php-version : " 8.3"
252- flavour : debian
253- template : https://github.com/shopware/shopware
254- - shopware-version : v6.6.4.1
255- php-version : " 8.3"
256- flavour : debian
257- template : https://github.com/shopware/shopware
258- - shopware-version : v6.6.5.1
259- php-version : " 8.3"
260- flavour : debian
261- template : https://github.com/shopware/shopware
262- - shopware-version : v6.6.6.1
263- php-version : " 8.3"
264- flavour : debian
265- template : https://github.com/shopware/shopware
266- - shopware-version : v6.6.7.1
267- php-version : " 8.3"
268- flavour : debian
269- template : https://github.com/shopware/shopware
270- - shopware-version : v6.6.8.2
271- php-version : " 8.3"
272- flavour : debian
273- template : https://github.com/shopware/shopware
274- - shopware-version : v6.6.9.0
275- php-version : " 8.3"
276- flavour : debian
277- template : https://github.com/shopware/shopware
278- - shopware-version : v6.6.10.5
279- php-version : " 8.3"
280- flavour : debian
281- template : https://github.com/shopware/shopware
282- - shopware-version : v6.7.0.1
283- php-version : " 8.3"
284- flavour : debian
285- template : https://github.com/shopware/shopware
286- - shopware-version : 6.5.x
287- php-version : " 8.1"
288- flavour : debian
289- template : https://github.com/shopware/shopware
290- - shopware-version : 6.6.x
291- php-version : " 8.3"
292- flavour : debian
293- template : https://github.com/shopware/shopware
294- - shopware-version : trunk
295- php-version : " 8.3"
296- flavour : debian
297- template : https://github.com/shopware/shopware
124+ include : ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
298125
299126 steps :
300127 - name : Clone
0 commit comments