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