Skip to content

Commit

Permalink
Add skip_java_db_update option in harbor.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stonezdj committed May 29, 2024
1 parent 7870237 commit 53caab0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jobs/harbor/templates/config/harbor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ trivy:
# https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
#
# github_token: xxx
# skipJavaDBUpdate If the flag is enabled you have to manually download the `trivy-java.db` file and mount it in the
# `/home/scanner/.cache/trivy/java-db/trivy-java.db` path
skip_java_db_update: false

jobservice:
# Maximum number of job workers in job service
max_job_workers: <%= p("max_job_workers") %>
Expand Down

0 comments on commit 53caab0

Please sign in to comment.