Skip to content

Commit 7bcb1e4

Browse files
committed
Add SAST job to .gitlab-ci.yml
1 parent 92a4cb5 commit 7bcb1e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,11 @@ codeclimate:
7171
- docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
7272
artifacts:
7373
paths: [codeclimate.json]
74+
75+
76+
sast:
77+
image: registry.gitlab.com/gitlab-org/gl-sast:latest
78+
script:
79+
- /app/bin/run .
80+
artifacts:
81+
paths: [gl-sast-report.json]

0 commit comments

Comments
 (0)