Skip to content

Commit

Permalink
ci: upload trivy result scan (#1975)
Browse files Browse the repository at this point in the history
Co-authored-by: Madhavi Losetty <[email protected]>
  • Loading branch information
graikhel-intel and madhavilosetty-intel authored Jan 30, 2025
1 parent 2ef7bdd commit 9626e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
image-ref: 'vprodemo.azurecr.io/rps:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
output: 'rps-trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
Expand All @@ -37,10 +37,10 @@ jobs:
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
if: always()
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'rps-trivy-results.sarif'
- name: Upload Trivy Artifacts
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
if: always()
with:
name: trivy-results.sarif
path: trivy-results.sarif
name: rps-trivy-results.sarif
path: rps-trivy-results.sarif

0 comments on commit 9626e29

Please sign in to comment.