You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup-trivy uses actions/cache under the hood but requires less configuration settings.
This caches the trivy binary so that next time you run, instead of downloading the binary it is loaded from the cache. This is not the same cache as other Trivy artifacts such as trivy-db and trivy-java-db.
The cache input is optional, and caching is turned off by default.
Caching is not supported for empty and latest versions!
Enable caching
If you want to enable caching for Linux and MacOS runners, set the cache input to true and specify the version.
There are cases when github.token (default value for actions/checkout) contains an invalid token for https://github.com.
One of example for this when using GitHub Enterprise Server (GHES).
See more info in #10
In some cases, GHES deployments are isolated and don't use GitHub Connect.
It uses the actions-sync process to mirror allowed actions into the GHES instance.
Set github-server-url to change the mirror of Trivy repository.