diff --git a/binary.js b/binary.js index 521cf157b..84b5c60e4 100644 --- a/binary.js +++ b/binary.js @@ -314,6 +314,8 @@ export const getOSPackages = (src) => { "0", "--format", "cyclonedx", + "--cache-dir", + trivyCacheDir, "--output", bomJsonFile ];