Skip to content

Commit

Permalink
Revert "fix: 🐛 allow trivy-config and other options to be used togeth…
Browse files Browse the repository at this point in the history
…er (#338)"

This reverts commit ee6a4f5.
  • Loading branch information
simar7 committed Apr 26, 2024
1 parent ee6a4f5 commit 7088d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ if [ "${format}" == "sarif" ] && [ "${limitSeveritiesForSARIF}" != "true" ]; the
trivy --quiet ${scanType} --format sarif --output ${output} $SARIF_ARGS ${artifactRef}
elif [ $trivyConfig ]; then
echo "Running Trivy with trivy.yaml config from: " $trivyConfig
trivy --config $trivyConfig ${scanType} ${ARGS}" ${artifactRef}
trivy --config $trivyConfig ${scanType} ${artifactRef}
else
echo "Running trivy with options: trivy ${scanType} ${ARGS}" "${artifactRef}"
echo "Global options: " "${GLOBAL_ARGS}"
Expand Down

0 comments on commit 7088d18

Please sign in to comment.