Skip to content
Snippets Groups Projects
Commit b08011f9 authored by Rohit Shambhuni's avatar Rohit Shambhuni
Browse files

fix: move retry to kaniko and add allow_failure

parent 59a433ac
No related branches found
No related tags found
No related merge requests found
Pipeline #15371820 passed
Loading
Loading
@@ -47,7 +47,6 @@ container_image_test:
 
container_image_scan:
stage: validate
retry: 1
variables:
IMAGES: $CI_REGISTRY_IMAGE/renovate:${CI_COMMIT_REF_SLUG}
needs:
Loading
Loading
Loading
Loading
@@ -33,11 +33,13 @@
environment:
name: appsec_container_scanning
action: prepare
retry: 1
script:
- BUILD_WORKING_DIRECTORY="$PWD"
- cd /run
- ./appsec-container-scan "${IMAGES}" > $BUILD_WORKING_DIRECTORY/gl-container-scanning-report.json
- cd $BUILD_WORKING_DIRECTORY
allow_failure: true
artifacts:
reports:
container_scanning: gl-container-scanning-report.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment