Commit f62c3513 by eric pellegrini

Added clean stage in gitlab YAML

parent e102d3e4
Pipeline #3782 canceled with stages
in 2 minutes 3 seconds
stages:
- ci
- deploy
- clean
############################
# ubuntu trusty pipeline
......@@ -198,3 +199,15 @@ deploy:windows:
- sci
- windows-10
clean_docker:
stage: clean
when: always
script:
- docker rm `docker ps -q -f "status=exited"`
- docker images -a --format "{{.Repository}}:{{.Tag}}" | grep mdanse | xargs docker rmi -f
- docker rmi `docker images -q -f "dangling=true"`
tags:
- docker
- sci
- ubuntu
Markdown is supported
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