Upgraded to .nwt 10
This commit is contained in:
@@ -77,10 +77,10 @@ steps:
|
||||
--destination=index.docker.io/khwezi/webapitest:latest
|
||||
--destination=index.docker.io/khwezi/webapitest:${DRONE_BUILD_NUMBER}
|
||||
|
||||
- name: volnerability-scan
|
||||
- name: volnerability scan
|
||||
image: aquasec/trivy
|
||||
commands:
|
||||
- trivy image --exit-code 1 --severity CRITICAL khwezi/webapitest:${DRONE_BUILD_NUMBER}
|
||||
- trivy image --exit-code 1 --timeout 15m --severity CRITICAL khwezi/webapitest:${DRONE_BUILD_NUMBER}
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
Reference in New Issue
Block a user