Skip to content

Commit

Permalink
Mettre à jour le workflow Kubelinter pour ajouter une analyse en form…
Browse files Browse the repository at this point in the history
…at txt et télécharger les résultats
  • Loading branch information
AlxFrst committed Apr 18, 2024
1 parent e7d1683 commit ec8736e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/kubelinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
format: sarif
output-file: kube-linter-results.sarif

- name: Scan repo with kube-linter as txt
continue-on-error: true
uses: stackrox/[email protected]
with:
directory: .
format: txt
output-file: kube-linter-results.txt

- name: Cat results
run: cat kube-linter-results.sarif

Expand All @@ -30,3 +38,10 @@ jobs:
with:
sarif_file: kube-linter-results.sarif
category: 'KubeLinter'


- name: upload txt results to GitHub
uses: actions/upload-artifact@v4
with:
name: kube-linter-results
path: kube-linter-results.txt

0 comments on commit ec8736e

Please sign in to comment.