diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 333b686f..886abd6b 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -23,6 +23,9 @@ jobs: pull-requests: write issues: write runs-on: ubuntu-latest + env: + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/trivy_scheduled_master.yml b/.github/workflows/trivy_scheduled_master.yml index c942d652..fc5ee961 100644 --- a/.github/workflows/trivy_scheduled_master.yml +++ b/.github/workflows/trivy_scheduled_master.yml @@ -34,6 +34,9 @@ jobs: actions: read contents: read runs-on: ubuntu-latest + env: + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db steps: - name: Checkout uses: actions/checkout@v3