diff --git a/tests/scripts/pull_update_push_image.sh b/tests/scripts/pull_update_push_image.sh index 2127476..d27194d 100755 --- a/tests/scripts/pull_update_push_image.sh +++ b/tests/scripts/pull_update_push_image.sh @@ -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