diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 5c2aebe..3d4d6e7 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -16,4 +16,8 @@ jobs: scan-type: 'fs' scanners: vuln,secret exit-code: 1 - ignore-unfixed: true \ No newline at end of file + ignore-unfixed: true + env: + TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db + TRIVY_USERNAME: ${{ github.actor }} + TRIVY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}