Skip to content

Commit

Permalink
ci: use backup database location
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Oct 7, 2024
1 parent fceb9d5 commit 2843412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/build-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ runs:
-v $(pwd)/.cache:/root/.cache \
-v $(pwd):/workdir \
-w /workdir \
aquasec/trivy:0.56.1 image --format json --ignore-unfixed --pkg-types os --scanners vuln ${{ inputs.primaryTag }} --db-repository public.ecr.aws/aquasecurity/trivy-db:2 --output trivy.json
aquasec/trivy:0.56.1 image --format json --ignore-unfixed --pkg-types os --scanners vuln --db-repository ghcr.io/aquasecurity/trivy-db:2,public.ecr.aws/aquasecurity/trivy-db:2 ${{ inputs.primaryTag }} --output trivy.json
sudo chmod a+r -R .cache
- name: Calculate database hash
Expand Down

0 comments on commit 2843412

Please sign in to comment.