Skip to content

Commit

Permalink
Merge pull request #1397 from ScilifelabDataCentre/fix-trivy-scan
Browse files Browse the repository at this point in the history
Forgot to change output.
  • Loading branch information
i-oden authored Feb 23, 2023
2 parents 60ccaa8 + 68ef942 commit c411fdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/trivy-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ jobs:
with:
image-ref: "ghcr.io/${{ env.REPOSITORY_OWNER }}/dds-backend:dev"
format: "sarif"
output: "trivy-results.sarif"
output: "trivy-master.sarif"
severity: "CRITICAL,HIGH"

- name: Upload Trivy scan results to master branch GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"
sarif_file: "trivy-master.sarif"
category: trivy-master

- name: Run Trivy on latest dev image
uses: aquasecurity/[email protected]
with:
image-ref: "ghcr.io/${{ env.REPOSITORY_OWNER }}/dds-backend:dev"
format: "sarif"
output: "trivy-results.sarif"
output: "trivy-dev.sarif"
severity: "CRITICAL,HIGH"

- name: Upload Trivy scan results to dev branch GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"
sarif_file: "trivy-dev.sarif"
category: trivy-dev

0 comments on commit c411fdf

Please sign in to comment.