Commit 47055184 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'reference-cs-image-in-template' into 'master'

Use CS_ANALYZER_IMAGE in CS template

See merge request gitlab-org/gitlab!47856
parents 2fb396e3 ad828646
---
title: Use CS_ANALYZER_IMAGE in CS template
merge_request: 47856
author:
type: added
......@@ -8,7 +8,7 @@ variables:
container_scanning:
stage: test
image: $SECURE_ANALYZERS_PREFIX/klar:$CS_MAJOR_VERSION
image: "$CS_ANALYZER_IMAGE"
variables:
# By default, use the latest clair vulnerabilities database, however, allow it to be overridden here with a specific image
# to enable container scanning to run offline, or to provide a consistent list of vulnerabilities for integration testing purposes
......@@ -18,6 +18,7 @@ container_scanning:
# file. See https://docs.gitlab.com/ee/user/application_security/container_scanning/index.html#overriding-the-container-scanning-template
# for details
GIT_STRATEGY: none
CS_ANALYZER_IMAGE: $SECURE_ANALYZERS_PREFIX/klar:$CS_MAJOR_VERSION
allow_failure: true
services:
- name: $CLAIR_DB_IMAGE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment