@@ -129,65 +129,10 @@ jobs:
129129          path : ${{ github.workspace }}/dist 
130130          key : nginx-ingress-${{ github.run_id }}-${{ github.run_number }} 
131131
132-   build-docker :
133-     name : Build Docker OSS 
134-     needs : binaries 
135-     strategy :
136-         fail-fast : false 
137-         matrix :
138-           image : [debian, alpine] 
139-           platforms : ["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"] 
140-           include :
141-             - image : ubi 
142-               platforms : " linux/arm64, linux/amd64, linux/ppc64le, linux/s390x" 
143-     uses : ./.github/workflows/build-oss.yml 
144-     with :
145-       platforms : ${{ matrix.platforms }} 
146-       image : ${{ matrix.image }} 
147-     secrets : inherit 
148- 
149-   build-docker-plus :
150-     name : Build Docker Plus 
151-     needs : build-docker 
152-     strategy :
153-         fail-fast : false 
154-         matrix :
155-           image : [debian-plus, alpine-plus] 
156-           platforms : ["linux/arm64, linux/amd64"] 
157-           target : [goreleaser, aws] 
158-           include :
159-             - image : ubi-plus 
160-               platforms : " linux/arm64, linux/amd64, linux/s390x" 
161-               target : goreleaser 
162-     uses : ./.github/workflows/build-plus.yml 
163-     with :
164-       platforms : ${{ matrix.platforms }} 
165-       image : ${{ matrix.image }} 
166-       target : ${{ matrix.target }} 
167-     secrets : inherit 
168- 
169-   build-docker-nap :
170-     name : Build Docker NAP 
171-     needs : build-docker-plus 
172-     strategy :
173-         fail-fast : false 
174-         matrix :
175-           image : [debian-plus-nap, ubi-plus-nap] 
176-           platforms : ["linux/amd64"] 
177-           target : [goreleaser, aws] 
178-           nap_modules : [dos, waf, "waf,dos"] 
179-     uses : ./.github/workflows/build-plus.yml 
180-     with :
181-       platforms : ${{ matrix.platforms }} 
182-       image : ${{ matrix.image }} 
183-       target : ${{ matrix.target }} 
184-       nap_modules : ${{ matrix.nap_modules }} 
185-     secrets : inherit 
186- 
187132  helm-tests :
188133    name : Helm Tests 
189134    runs-on : ubuntu-22.04 
190-     needs : [build-docker-plus, checks ] 
135+     needs : [checks, binaries ] 
191136    strategy :
192137      matrix :
193138        include :
@@ -264,7 +209,7 @@ jobs:
264209setup-matrix :
265210    name : Setup Matrix for Smoke Tests 
266211    runs-on : ubuntu-22.04 
267-     needs : [checks, build-docker-nap ] 
212+     needs : [checks, binaries ] 
268213    if : ${{ ! startsWith(github.ref, 'refs/tags/') }} 
269214    outputs :
270215      matrix : ${{ steps.set-matrix.outputs.matrix }} 
@@ -333,6 +278,61 @@ jobs:
333278          path : ${{ github.workspace }}/tests/${{ steps.smoke-tests.outputs.test-results-name }}.html 
334279        if : always() 
335280
281+   build-docker :
282+     name : Build Docker OSS 
283+     needs : smoke-tests 
284+     strategy :
285+         fail-fast : false 
286+         matrix :
287+           image : [debian, alpine] 
288+           platforms : ["linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"] 
289+           include :
290+             - image : ubi 
291+               platforms : " linux/arm64, linux/amd64, linux/ppc64le, linux/s390x" 
292+     uses : ./.github/workflows/build-oss.yml 
293+     with :
294+       platforms : ${{ matrix.platforms }} 
295+       image : ${{ matrix.image }} 
296+     secrets : inherit 
297+ 
298+   build-docker-plus :
299+     name : Build Docker Plus 
300+     needs : build-docker 
301+     strategy :
302+         fail-fast : false 
303+         matrix :
304+           image : [debian-plus, alpine-plus] 
305+           platforms : ["linux/arm64, linux/amd64"] 
306+           target : [goreleaser, aws] 
307+           include :
308+             - image : ubi-plus 
309+               platforms : " linux/arm64, linux/amd64, linux/s390x" 
310+               target : goreleaser 
311+     uses : ./.github/workflows/build-plus.yml 
312+     with :
313+       platforms : ${{ matrix.platforms }} 
314+       image : ${{ matrix.image }} 
315+       target : ${{ matrix.target }} 
316+     secrets : inherit 
317+ 
318+   build-docker-nap :
319+     name : Build Docker NAP 
320+     needs : build-docker-plus 
321+     strategy :
322+         fail-fast : false 
323+         matrix :
324+           image : [debian-plus-nap, ubi-plus-nap] 
325+           platforms : ["linux/amd64"] 
326+           target : [goreleaser, aws] 
327+           nap_modules : [dos, waf, "waf,dos"] 
328+     uses : ./.github/workflows/build-plus.yml 
329+     with :
330+       platforms : ${{ matrix.platforms }} 
331+       image : ${{ matrix.image }} 
332+       target : ${{ matrix.target }} 
333+       nap_modules : ${{ matrix.nap_modules }} 
334+     secrets : inherit 
335+ 
336336  publish-helm :
337337    name : Package and Publish Helm Chart 
338338    runs-on : ubuntu-22.04 
0 commit comments