@@ -28,20 +28,56 @@ jobs:
28
28
chmod +x preflight-linux-amd64
29
29
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
30
30
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
+
31
43
- name : Run preflight for NGINX Gateway Fabric
32
44
env :
33
45
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
35
59
36
60
- name : Run preflight for NGINX OSS
37
61
env :
38
62
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
40
76
41
77
- name : Run preflight for NGINX Gateway Fabric Operator
42
78
env :
43
79
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
45
81
46
82
- name : Aggregate preflight results and fail if any checks failed
47
83
run : |
0 commit comments