Skip to content

Commit

Permalink
chore: use our own trivy repository (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
andaaron authored Nov 2, 2024
1 parent 7bd1d7d commit 6cadd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/pull_update_push_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ fi

trivy_out_file=trivy-${image}-${tag}.json
if [ ! -z "${multiarch}" ]; then
trivy image --scanners vuln --format json --input ${local_image_ref_trivy} -o ${trivy_out_file}
trivy image --scanners vuln --db-repository ghcr.io/project-zot/trivy-db --format json --input ${local_image_ref_trivy} -o ${trivy_out_file}
jq -n --argfile trivy_file ${trivy_out_file} '.trivy=$trivy_file.Results' > ${trivy_out_file}.tmp
mv ${trivy_out_file}.tmp ${trivy_out_file}
else
Expand Down

0 comments on commit 6cadd7f

Please sign in to comment.