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