Skip to content

Commit

Permalink
Avoid rate-limiting
Browse files Browse the repository at this point in the history
Avoid rate-limiting when running Trivy scans.
  • Loading branch information
martincostello committed Oct 27, 2024
1 parent 8075746 commit 11e2ea7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/container-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Run Trivy (SARIF)
uses: aquasecurity/trivy-action@0.28.0
env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TRIVY_USERNAME: ${{ secrets.TRIVY_USERNAME }}
TRIVY_PASSWORD: ${{ secrets.TRIVY_PASSWORD }}
with:
Expand All @@ -59,6 +60,7 @@ jobs:
- name: Run Trivy (JSON)
uses: aquasecurity/trivy-action@0.28.0
env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TRIVY_USERNAME: ${{ secrets.TRIVY_USERNAME }}
TRIVY_PASSWORD: ${{ secrets.TRIVY_PASSWORD }}
with:
Expand Down

0 comments on commit 11e2ea7

Please sign in to comment.