From 4a7fb525d7b5bd00b31160f8312706943830fbbe Mon Sep 17 00:00:00 2001 From: Aruneko Date: Fri, 17 Jan 2020 19:16:00 +0900 Subject: [PATCH] fix typo in example of .gitlab-ci.yml (#373) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0845a1d5fd..05b5281ba6 100644 --- a/README.md +++ b/README.md @@ -1269,11 +1269,11 @@ trivy: # Build image - docker build -t trivy-ci-test:$CI_COMMIT_SHA . # Build report - - ./trivy --exit-code 0 --cache-dir $CI_PROJECT_DIR/.trivycache/ --no-progress --format template --template "@contrib/gitlab.tpl"-o ${CI_PROJECT_DIR}/gl-container-scanning-report.json trivy-ci-test:$CI_COMMIT_SHA + - ./trivy --exit-code 0 --cache-dir $CI_PROJECT_DIR/.trivycache/ --no-progress --format template --template "@contrib/gitlab.tpl" -o ${CI_PROJECT_DIR}/gl-container-scanning-report.json trivy-ci-test:$CI_COMMIT_SHA # Print report - ./trivy --exit-code 0 --cache-dir $CI_PROJECT_DIR/.trivycache/ --no-progress --severity HIGH trivy-ci-test:$CI_COMMIT_SHA # Fail on high and critical vulnerabilities - - ./trivy --exit-code 1 --cache-dir $CI_PROJECT_DIR/.trivycache/ --severity CRITICAL --no-progress trivy-ci-test:$CI_COMMIT_SHA + - ./trivy --exit-code 1 --cache-dir $CI_PROJECT_DIR/.trivycache/ --severity CRITICAL --no-progress trivy-ci-test:$CI_COMMIT_SHA cache: paths: - $CI_PROJECT_DIR/.trivycache/