From 154a0702b808ad873a8381415bea07bb57d6858b Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Sun, 12 Apr 2020 23:57:55 -0400 Subject: [PATCH] add cleanup stage --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ef97f6..76c1e01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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