aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-06-14 10:19:47 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-06-14 10:19:47 +0200
commitde8f358d1e35fbe2e001c7771660279d81f67d21 (patch)
tree19cce015f27170f095b63ee44ac808ed487b9980
parentb36904d6f1ebaaeae9ffe887de0e5ccb40b3e659 (diff)
do gitlab SAST only if env variable set
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa4d9a3..e8145b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,9 @@ build:
sast:
image: docker:stable
+ only:
+ variables:
+ - $DO_SAST
variables:
DOCKER_DRIVER: overlay2
allow_failure: true