diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 6d016afe1a..6e58c69d4b 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -12,29 +12,29 @@ env: CONTAINER_IMAGE_VERSION: latest jobs: - reset-trivy-cache: - runs-on: ubuntu-latest - steps: - # TODO with latest release 0.24.0 there is no environment variable for resetting cache anymore - # GH issue: https://github.com/aquasecurity/trivy-action/issues/372 - # - # - name: Remove all caches and database of the trivy scanner - # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 - # env: - # TRIVY_RESET: true - # TRIVY_DEBUG: true - # with: - # scan-type: "image" - - name: Download trivy vulnerabilities DB - uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 - env: - TRIVY_DEBUG: true - TRIVY_DOWNLOAD_DB_ONLY: true - with: - scan-type: "image" + # reset-trivy-cache: + # runs-on: ubuntu-latest + # steps: + # # TODO with latest release 0.24.0 there is no environment variable for resetting cache anymore + # # GH issue: https://github.com/aquasecurity/trivy-action/issues/372 + # # + # - name: Remove all caches and database of the trivy scanner + # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 + # env: + # TRIVY_RESET: true + # TRIVY_DEBUG: true + # with: + # scan-type: "image" + # - name: Download trivy vulnerabilities DB + # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 + # env: + # TRIVY_DEBUG: true + # TRIVY_DOWNLOAD_DB_ONLY: true + # with: + # scan-type: "image" vulnerability-scan-backend: runs-on: ubuntu-latest - needs: reset-trivy-cache + # needs: reset-trivy-cache strategy: matrix: container-name: