Skip to content
Snippets Groups Projects
Commit e52c863d authored by Roxana-Daniela SCURTU (94501)'s avatar Roxana-Daniela SCURTU (94501)
Browse files

Edit .gitlab-ci.yml

parent 32fe2b17
No related branches found
No related tags found
No related merge requests found
Pipeline #109150 failed
......@@ -6,8 +6,22 @@
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- test
sast:
- build
- test
- deploy
build:
stage: build
script:
- docker build -t my-app .
test:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
script:
- docker run my-app npm test
deploy:
stage: deploy
script:
- docker push my-app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment