Loading .gitlab-ci.yml +8 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,6 @@ scan-images: stage: codegen script: - ./scan-images.sh allow_failure: true artifacts: when: always paths: Loading @@ -69,6 +68,14 @@ scan-images: - docs/secu/ # reports: # container_scanning: "reports/trivy-*.gitlab.json" rules: # on prod branch: auto & allow failure - if: '$CI_COMMIT_REF_NAME =~ $PROD_REF' allow_failure: true # on non-prod branch: manual - if: '$CI_COMMIT_REF_NAME' when: manual allow_failure: true check-links: image: Loading Loading
.gitlab-ci.yml +8 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,6 @@ scan-images: stage: codegen script: - ./scan-images.sh allow_failure: true artifacts: when: always paths: Loading @@ -69,6 +68,14 @@ scan-images: - docs/secu/ # reports: # container_scanning: "reports/trivy-*.gitlab.json" rules: # on prod branch: auto & allow failure - if: '$CI_COMMIT_REF_NAME =~ $PROD_REF' allow_failure: true # on non-prod branch: manual - if: '$CI_COMMIT_REF_NAME' when: manual allow_failure: true check-links: image: Loading