Skip to content

Using Redis cache as a cache for Java Index DB #6177

Closed Answered by DmitriyLewen
KMikkey asked this question in Q&A
Discussion options

You must be logged in to vote

In CI pipeline for trivy-client use different cache directory using --cache-dir (?)

e.g. GitHub CI/CD supports cache persistence. You can change Trivy cache directory (--cache-dir flag) and save this directory to GitHub cache -https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action

From my understanding if I use server-client mode then I can't use cache on client side for trivy-java-db.

Right.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@KMikkey
Comment options

@DmitriyLewen
Comment options

@KMikkey
Comment options

@DmitriyLewen
Comment options

Answer selected by KMikkey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage/support Indicates an issue that is a support question.
3 participants