Skip to content

Commit

Permalink
Merge pull request #1633 from OpenC3/trivy
Browse files Browse the repository at this point in the history
Trivy workaround for TOOMANYREQUESTS
  • Loading branch information
ryanmelt authored Oct 17, 2024
2 parents 505c17e + 11d7bb4 commit 6c85e08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/post_release_trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
required: true
type: string

# Workaround for https://github.com/aquasecurity/trivy-action/issues/389
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1

jobs:
openc3-scan:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
pull_request:
branches: [main]

# Workaround for https://github.com/aquasecurity/trivy-action/issues/389
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1

jobs:
openc3-scan:
if: ${{ github.actor != 'dependabot[bot]' }}
Expand Down

0 comments on commit 6c85e08

Please sign in to comment.