Prune unused docker images, that consume resources
This commit is contained in:
parent
70407f1887
commit
3da628a36a
1 changed files with 1 additions and 0 deletions
|
|
@ -41,5 +41,6 @@ pipeline:
|
||||||
- docker stop frontend || true
|
- docker stop frontend || true
|
||||||
- docker rm frontend || true
|
- docker rm frontend || true
|
||||||
- docker run -d --name frontend -p 5173:80 frontend:${CI_COMMIT_SHA}
|
- docker run -d --name frontend -p 5173:80 frontend:${CI_COMMIT_SHA}
|
||||||
|
- docker system prune -f # Clean up unused containers and images
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue