Skip to content

Commit

Permalink
fix: Trivy Java DB refresh (#508)
Browse files Browse the repository at this point in the history
Fixed the Trivy Java DB refresh which allows us to host our own copy of the database.
  • Loading branch information
patheard authored Oct 18, 2024
1 parent 66e4da0 commit 28c8fcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trivy-db-refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
docker-vulnerability-scan:
trivy-db-refresh:
runs-on: ubuntu-latest

steps:
Expand All @@ -30,9 +30,10 @@ jobs:
with:
registry-type: public

- name: Refresh Trivy Database
- name: Refresh Trivy Databases
run: |
./bin/generate_sbom/trivy_db_refresh.sh trivy-db:latest ${{ vars.TRIVY_DB_REPOSITORY }}
./bin/generate_sbom/trivy_db_refresh.sh trivy-java-db:1 ${{ vars.TRIVY_JAVA_DB_REPOSITORY }}
- name: Logout of Amazon ECR
run: docker logout ${{ steps.login-ecr.outputs.registry }}

0 comments on commit 28c8fcf

Please sign in to comment.