mirror of https://github.com/docker/docs.git
parent
5900235a2e
commit
2f85bb7296
|
|
@ -22,7 +22,7 @@ stage('Analyze image') {
|
||||||
sh 'echo $DOCKER_HUB_PAT | docker login -u $DOCKER_HUB_USER --password-stdin'
|
sh 'echo $DOCKER_HUB_PAT | docker login -u $DOCKER_HUB_USER --password-stdin'
|
||||||
|
|
||||||
// Analyze and fail on critical or high vulnerabilities
|
// Analyze and fail on critical or high vulnerabilities
|
||||||
sh 'docker-scout cves $IMAGE_TAG --exit-code --only-serverity critical,high'
|
sh 'docker-scout cves $IMAGE_TAG --exit-code --only-severity critical,high'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue