Skip to content
Snippets Groups Projects
Commit 3af9d244 authored by Ijaz Ahmad's avatar Ijaz Ahmad
Browse files

Update .gitlab-ci.yml

parent 1f510b81
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ image: docker:latest
stages:
- build
- test
- deploy
services:
......@@ -23,7 +24,11 @@ build-push:
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
test:
stage: test
- echo "running unit testson the image"
- echo "running security testing on the image"
- echo "pushing the results to build/test pipeline dashboard"
deploy:
stage: deploy
script:
......
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