diff --git a/container-scan.yml b/container-scan.yml index 3f622fd..f3eacc8 100644 --- a/container-scan.yml +++ b/container-scan.yml @@ -25,7 +25,7 @@ DOCKERFILE_LOCATION: $CI_PROJECT_DIR/Dockerfile CONTEXT_LOCATION: $CI_PROJECT_DIR before_script: - - wget "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" + - curl -L "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" --output trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz - tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz script: - /kaniko/executor --context $CONTEXT_LOCATION --dockerfile $DOCKERFILE_LOCATION --cache-dir cache/image --tarPath image.tar --no-push --destination image diff --git a/documentation/chapters/generalInformation.adoc b/documentation/chapters/generalInformation.adoc index 1369924..24fb4c7 100644 --- a/documentation/chapters/generalInformation.adoc +++ b/documentation/chapters/generalInformation.adoc @@ -24,6 +24,7 @@ include: - 'npm-lint-template.yml' - 'npm-test-template.yml' - 'container-publish.yml' + - 'container-scan.yml' - 'set-version-template.yml' - 'sonar-template.yml'