[Git][NTPsec/ntpsec][master] Add force to docker prune commands to avoid confirmation prompts

Matt Selsky (@selsky) gitlab at mg.gitlab.com
Tue Dec 6 02:29:03 UTC 2022



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
02aacbac by Matt Selsky at 2022-12-05T21:28:40-05:00
Add force to docker prune commands to avoid confirmation prompts

- - - - -


1 changed file:

- .gitlab-docker-ci.yml


Changes:

=====================================
.gitlab-docker-ci.yml
=====================================
@@ -10,13 +10,13 @@
     - IMAGE_NAME=${CI_JOB_NAME/build-/}
     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     - docker system df
-    - docker image prune
+    - docker image prune --force
     - docker system df
-    - docker container prune
+    - docker container prune --force
     - docker system df
-    - docker builder prune
+    - docker builder prune --force
     - docker system df
-    - docker volume prune
+    - docker volume prune --force
     - docker system df
     - docker pull $CI_REGISTRY_IMAGE/$IMAGE_NAME:latest || true
     - docker system df



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/02aacbacac0a71a89b765a6f9ad10446ecae8b6f

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/02aacbacac0a71a89b765a6f9ad10446ecae8b6f
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20221206/4f2ec82b/attachment-0001.htm>


More information about the vc mailing list