Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trexx authored Dec 15, 2023
1 parent c08aba3 commit bf66f02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: trivy
name: Trivy

on:
push:
branches:
- main
schedule:
- cron: '37 12 * * 0'

Expand Down Expand Up @@ -38,6 +35,7 @@ jobs:
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
format: 'sarif'
output: 'trivy-results.sarif'
scanners: 'vuln'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit bf66f02

Please sign in to comment.