Skip to content

Commit

Permalink
skip update db for secondary scans
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Jan 7, 2025
1 parent f189214 commit ad60a43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,5 @@ jobs:
env:
TRIVY_USERNAME: ${{ github.actor }}
TRIVY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true
3 changes: 3 additions & 0 deletions .github/workflows/golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,6 @@ jobs:
severity: MEDIUM,HIGH,CRITICAL
# On a subsequent call to the action we know trivy is already installed so can skip this
skip-setup-trivy: true
env:
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true

0 comments on commit ad60a43

Please sign in to comment.