Skip to content

Commit

Permalink
Merge pull request #751 from open-amt-cloud-toolkit/trivyupload
Browse files Browse the repository at this point in the history
ci: upload trivy result scan
  • Loading branch information
madhavilosetty-intel authored Jan 30, 2025
2 parents 6185327 + 9002038 commit 3558766
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
image-ref: 'vprodemo.azurecr.io/rpc-go:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
output: 'rpcgo-trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
Expand All @@ -38,4 +38,10 @@ jobs:
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
if: always()
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'rpcgo-trivy-results.sarif'
- name: Upload Trivy Artifacts
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
if: always()
with:
name: rpcgo-trivy-results.sarif
path: rpcgo-trivy-results.sarif

0 comments on commit 3558766

Please sign in to comment.