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: stages:
- docker-build - docker-build
- cleanup
build-docker-alpine: build-docker-alpine:
@ -17,3 +18,7 @@ build-docker-ubuntu:
script: script:
- cd ubuntu - cd ubuntu
- docker build --network=host -t catdeployed/postal:ubuntu . - docker build --network=host -t catdeployed/postal:ubuntu .
cleanup
stage: cleanup
script:
- docker system prune -af