Skip to content

Commit

Permalink
Merge pull request #9 from ghga-de/feature/update-trivy-db-repositories
Browse files Browse the repository at this point in the history
Specify Trivy DB repository
  • Loading branch information
ckaipf authored Nov 21, 2024
2 parents 12cf665 + 8f9d84e commit 0f8fcdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ runs:

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db"
with:
image-ref: "docker.io/${{ inputs.dockerhub_namespace }}/${{ github.event.repository.name }}:${{ inputs.tag }}${{ steps.get_suffixes.outputs.tag_suffix }}"
format: "table"
Expand Down

0 comments on commit 0f8fcdb

Please sign in to comment.