diff --git a/.github/workflows/_build-and-push.yml b/.github/workflows/_build-and-push.yml index c810264fa4..b2d8aa636d 100644 --- a/.github/workflows/_build-and-push.yml +++ b/.github/workflows/_build-and-push.yml @@ -267,6 +267,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TRIVY_DB_REPOSITORY: ${{ steps.login_ecr.outputs.registry }}/trivy-db-public-ecr/aquasecurity/trivy-db:2 + TRIVY_JAVA_DB_REPOSITORY: ${{ steps.login_ecr.outputs.registry }}/trivy-db-public-ecr/aquasecurity/trivy-java-db:1 with: image-ref: ${{ matrix.svc_prefix }}_${{ matrix.svc_suffix }}:latest severity: 'HIGH,CRITICAL'