Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 7200978a authored by Benoît's avatar Benoît
Browse files

fix

parent 633de3f6
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ include: ...@@ -37,7 +37,7 @@ include:
export CS_IMAGE=${CI_IMAGE} export CS_IMAGE=${CI_IMAGE}
echo "Destination image ${CI_IMAGE}" echo "Destination image ${CI_IMAGE}"
variables: variables:
TRIVY_OPTS: --ignore-unfixed --show-suppressed TRIVY_OPTS: --ignore-unfixed
allow_failure: true allow_failure: true
artifacts: artifacts:
reports: reports:
...@@ -50,7 +50,7 @@ include: ...@@ -50,7 +50,7 @@ include:
trivy image ${TRIVY_OPTS} \ trivy image ${TRIVY_OPTS} \
--exit-code 0 \ --exit-code 0 \
--severity HIGH,CRITICAL \ --severity HIGH,CRITICAL \
${CS_IMAGE}-${ARCH} ${CS_IMAGE}-${ARCH} --show-suppressed
- | - |
echo -e "Generate CVE report for Gitlab" echo -e "Generate CVE report for Gitlab"
trivy image ${TRIVY_OPTS} \ trivy image ${TRIVY_OPTS} \
...@@ -81,7 +81,7 @@ include: ...@@ -81,7 +81,7 @@ include:
trivy image ${TRIVY_OPTS} \ trivy image ${TRIVY_OPTS} \
--exit-code 1 \ --exit-code 1 \
--severity CRITICAL \ --severity CRITICAL \
${CS_IMAGE}-${ARCH} ${CS_IMAGE}-${ARCH} --show-suppressed
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CONTAINER_SCANNING_DISABLED == 'true' || $CONTAINER_SCANNING_DISABLED == '1' - if: $CONTAINER_SCANNING_DISABLED == 'true' || $CONTAINER_SCANNING_DISABLED == '1'
...@@ -93,7 +93,7 @@ include: ...@@ -93,7 +93,7 @@ include:
.tpl:container:test:mr-note: .tpl:container:test:mr-note:
stage: scan stage: scan
variables: variables:
TRIVY_OPTS: --ignore-unfixed --show-suppressed TRIVY_OPTS: --ignore-unfixed
parallel: parallel:
matrix: matrix:
- ARCH: amd64 - ARCH: amd64
......
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