Update .gitlab-ci.yml file

master
王宇洋 3 years ago
parent e2ae17c43f
commit 89c3222f07

@ -52,12 +52,10 @@ docker:
- docker build -t registry.hub.docker.com/echo0821/web-methodology:latest .
- docker push registry.hub.docker.com/echo0821/web-methodology:latest
- docker rmi registry.hub.docker.com/echo0821/web-methodology
#sast:
# variables:
# SAST_EXCLUDED_PATHS: spec, test, tests, tmp, editormd
# stage: test
# only:
# - master
#include:
#- template: Security/SAST.gitlab-ci.yml
#- template: Security/Secret-Detection.gitlab-ci.yml
sast:
variables:
SAST_EXCLUDED_PATHS: spec, test, tests, tmp, editormd
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml

Loading…
Cancel
Save