Skip to content

Commit

Permalink
feat: remove download due to TOOMANYREQ [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pgurusinga committed Nov 22, 2024
1 parent 64efce8 commit 98b1211
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 98b1211

Please sign in to comment.