Skip to content
Snippets Groups Projects
Commit c3a45529 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat: add docker clean in cicd

parent cebbd6b4
No related branches found
No related tags found
Loading
......@@ -56,6 +56,7 @@ deploy_dev:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull web-app
- docker-compose up -d web-app
- docker system prune -a -f
deploy_rec:
stage: deploy
......@@ -68,6 +69,7 @@ deploy_rec:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull web-app-rec
- docker-compose up -d web-app-rec
- docker system prune -a -f
code_analysis:
image: skilldlabs/sonar-scanner:3.4.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment