add cleanup stage
This commit is contained in:
parent
a9da200817
commit
154a0702b8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user