Skip to content

Commit

Permalink
Merge pull request #2230 from ConnorJC3/nuke-trivy-to-orbit
Browse files Browse the repository at this point in the history
Fix Trivy TOOMANYREQUESTS errors
  • Loading branch information
k8s-ci-robot authored Nov 15, 2024
2 parents de6e80e + bc6184f commit 6ba145f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/trivy-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:

- name: Scan container image
uses: aquasecurity/trivy-action@0.28.0
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
with:
image-ref: '${{ matrix.image }}'
output: 'results.sarif'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
name: Trivy Scanner
on:
pull_request:
branches:
- 'release-*'

permissions:
contents: read
Expand All @@ -30,6 +32,8 @@ jobs:

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.28.0
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
with:
scan-type: 'fs'
ignore-unfixed: true
Expand Down

0 comments on commit 6ba145f

Please sign in to comment.