add cleanup stage

This commit is contained in:
ILoveYaToo 2020-04-12 23:57:55 -04:00
parent a9da200817
commit 154a0702b8

View File

@ -4,6 +4,7 @@ before_script:
stages:
- docker-build
- cleanup
build-docker-alpine:
@ -17,3 +18,7 @@ build-docker-ubuntu:
script:
- cd ubuntu
- docker build --network=host -t catdeployed/postal:ubuntu .
cleanup
stage: cleanup
script:
- docker system prune -af