Delete all the images, not just dangling ones

This commit is contained in:
Georg Krause 2021-07-07 12:03:14 +02:00
parent 1b38537376
commit f7d33cff20
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ build_backend:
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker system prune -f
- docker system prune -af
- cd api
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME