File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -213,3 +213,19 @@ jobs:
213
213
with :
214
214
name : ${{ inputs.image }}-${{ steps.meta.outputs.version }}
215
215
path : ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
216
+
217
+
218
+ # - name: Run preflight
219
+ # env:
220
+ # PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}
221
+ # run: preflight check container ${{ inputs.image }}:ubi > preflight-result.json
222
+
223
+ # - name: Check preflight results
224
+ # run: |
225
+ # failed_count=$(jq '.results.failed | length' preflight-result.json)
226
+ # if [ "$failed_count" -ne 0 ]; then
227
+ # echo "Preflight checks failed: $failed_count failed checks"
228
+ # echo "Results for preflight-result.json:"
229
+ # jq '.results.failed' preflight-result.json
230
+ # exit 1
231
+ # fi
Original file line number Diff line number Diff line change 25
25
preflight :
26
26
runs-on : ${{ inputs.runner }}
27
27
steps :
28
- - name : Checkout repository
29
- uses : actions/checkout@v4
28
+ - name : Checkout Repository
29
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30
+ with :
31
+ ref : ${{ (inputs.tag != '' && !inputs.dry_run ) && format('refs/tags/v{0}', inputs.tag) || github.ref }}
30
32
31
33
- name : Download preflight binary
32
34
run : |
38
40
uses : actions/download-artifact@v4
39
41
with :
40
42
name : ${{ inputs.image }}-${{ inputs.image_version }}
41
-
43
+
42
44
- name : List files after artifact download
43
45
run : ls -l ${{ inputs.image }}-${{ inputs.image_version }}.tar
44
46
You can’t perform that action at this time.
0 commit comments