fix(kube): using make scan instead of trivy check

This commit is contained in:
Philippe Caseiro 2023-06-21 09:34:12 +02:00
parent 92bec0f127
commit 120d5d5fb5

View File

@ -55,7 +55,9 @@ String buildAndPublishImage(Map options = [:]) {
stage('Validate image with Trivy') {
utils.when(!skipVerifications) {
runTrivyCheck("${imageName}:${imageTag}", projectRepository)
sh """
CURRENT_BRANCH=${currentBranch} make scan
"""
}
}