Mettre à jour le fichier postgres-deployment.yaml pour ajouter un con… #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Kubelinter on Dev Branch | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
kubelinter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Scan repo with kube-linter | |
continue-on-error: true | |
uses: stackrox/[email protected] | |
with: | |
directory: . | |
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 | |
- name: Upload SARIF results to GitHub | |
uses: github/codeql-action/upload-sarif@v1 | |
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 |