@@ -87,12 +87,11 @@ jobs:
87
87
docker push $QUAY_MLSERVER_IMAGE
88
88
- name : Install preflight
89
89
run : |
90
+ PREFLIGHT_VERSION=$(curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name)
90
91
wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64
91
92
chmod u+x preflight-linux-amd64
92
93
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
93
94
preflight --version
94
- env :
95
- PREFLIGHT_VERSION : 1.10.0
96
95
- name : Submit preflight results
97
96
run : |
98
97
preflight check container \
@@ -159,12 +158,11 @@ jobs:
159
158
docker push $QUAY_MLSERVER_IMAGE-slim
160
159
- name : Install preflight
161
160
run : |
161
+ PREFLIGHT_VERSION=$(curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name)
162
162
wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64
163
163
chmod u+x preflight-linux-amd64
164
164
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
165
165
preflight --version
166
- env :
167
- PREFLIGHT_VERSION : 1.10.0
168
166
- name : Submit preflight results
169
167
run : |
170
168
preflight check container \
@@ -283,12 +281,11 @@ jobs:
283
281
docker push $QUAY_MLSERVER_IMAGE-${{ matrix.runtime }}
284
282
- name : Install preflight
285
283
run : |
284
+ PREFLIGHT_VERSION=$(curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name)
286
285
wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64
287
286
chmod u+x preflight-linux-amd64
288
287
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
289
288
preflight --version
290
- env :
291
- PREFLIGHT_VERSION : 1.10.0
292
289
- name : Submit preflight results
293
290
run : |
294
291
preflight check container \
0 commit comments