Commit 5a6f0213
5a6f0213219dMerged
Dmitriy Zhilyaev <[email protected]> ยท 3 years ago ยท 1 file ยท ~1 modified
Description
fix: container-analysis.yml
one job
Details
- Commit
- 5a6f0213219d
- Parent
- fb3ff4424363
.github/workflows/container-analysis.ymlmodifiedView file
@@ -7,38 +7,33 @@
77
- cron: "44 10 * * 6"88
99
jobs:10-
trivy:10+
scanning:1111
runs-on: ubuntu-latest1212
steps:1313
- uses: actions/checkout@v31414
15-
- name: Run Trivy15+
- name: Trivy1616
continue-on-error: true1818
with:1919
image-ref: "ghcr.io/${{ github.repository }}:latest"2020
format: "sarif"2121
output: "trivy-results.sarif"22-
severity: "MEDIUM,HIGH,CRITICAL"22+
severity: "HIGH,CRITICAL"2323
2424
- name: Upload Trivy scan results to GitHub Security tab2525
uses: github/codeql-action/upload-sarif@v22626
with:2727
sarif_file: "trivy-results.sarif"2828
29-
snyk:30-
runs-on: ubuntu-latest31-
steps:32-
- uses: actions/checkout@v333-
34-
- name: Run Snyk29+
- name: Snyk3530
continue-on-error: true3631
uses: snyk/actions/docker@master3732
env:3833
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}3934
with:4035
image: ghcr.io/${{ github.repository }}:latest41-
args: --file=Dockerfile --severity-threshold=medium36+
args: --file=Dockerfile --severity-threshold=high4237
4338
- name: Upload Snyk result to GitHub Code Scanning4439
uses: github/codeql-action/upload-sarif@v2