@@ -28,20 +28,56 @@ jobs:
2828 chmod +x preflight-linux-amd64
2929 sudo mv preflight-linux-amd64 /usr/local/bin/preflight
3030
31+ - name : Download NGINX Gateway Fabric image artifact
32+ uses : actions/download-artifact@v4
33+ with :
34+ name : ngf-image
35+
36+ - name : Load NGINX Gateway Fabric image into Docker
37+ run : docker load -i ngf-image.tar
38+
39+ - name : Tag image for preflight
40+ run : |
41+ docker tag localhost:5000/nginx/nginx-gateway-fabric:${{ github.run_id }}-${{ github.run_number }} nginx-gateway-fabric:edge-ubi
42+
3143 - name : Run preflight for NGINX Gateway Fabric
3244 env :
3345 PYXIS_API_TOKEN : ${{ secrets.PYXIS_API_TOKEN }}
34- run : preflight check container ghcr.io/nginx/nginx-gateway-fabric:edge-ubi > ngf-preflight-result.json
46+ run : preflight check container nginx-gateway-fabric:edge-ubi > ngf-preflight-result.json
47+
48+ - name : Download NGINX NGINX OSS image artifact
49+ uses : actions/download-artifact@v4
50+ with :
51+ name : nginx-oss-image
52+
53+ - name : Load NGINX OSS image into Docker
54+ run : docker load -i nginx-oss-image.tar
55+
56+ - name : Tag image for preflight
57+ run : |
58+ docker tag localhost:5000/nginx-gateway-fabric/nginx:${{ github.run_id }}-${{ github.run_number }}nginx-oss:edge-ubi
3559
3660 - name : Run preflight for NGINX OSS
3761 env :
3862 PYXIS_API_TOKEN : ${{ secrets.PYXIS_API_TOKEN }}
39- run : preflight check container ghcr.io/nginx/nginx-gateway-fabric/nginx:edge-ubi > ngf-oss-preflight-result.json
63+ run : preflight check container nginx:edge-ubi > ngf-oss-preflight-result.json
64+
65+ - name : Download NGINX Gateway Fabric Operator image artifact
66+ uses : actions/download-artifact@v4
67+ with :
68+ name : operator-image
69+
70+ - name : Load NGINX Gateway Fabric Operator image into Docker
71+ run : docker load -i operator-image.tar
72+
73+ - name : Tag image for preflight
74+ run : |
75+ docker tag localhost:5000/nginx-gateway-fabric/operator:${{ github.run_id }}-${{ github.run_number }} ngf-operator:edge
4076
4177 - name : Run preflight for NGINX Gateway Fabric Operator
4278 env :
4379 PYXIS_API_TOKEN : ${{ secrets.PYXIS_API_TOKEN }}
44- run : preflight check container ghcr.io/nginx/nginx-gateway-fabric/ operator:edge > ngf-operator-preflight-result.json
80+ run : preflight check operator ngf- operator:edge > ngf-operator-preflight-result.json
4581
4682 - name : Aggregate preflight results and fail if any checks failed
4783 run : |
0 commit comments