fix(kube): using make scan instead of trivy check
This commit is contained in:
@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user