[monitoring-plugins] Prune container and volumes

Jacob Hansen git at monitoring-plugins.org
Wed May 19 14:40:12 CEST 2021


 Module: monitoring-plugins
 Branch: feature_github_actions
 Commit: 226469f970568340d27d90499199823b67b9e3dc
 Author: Jacob Hansen <jhansen at op5.com>
   Date: Wed May 19 13:59:52 2021 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=226469f

Prune container and volumes

Rather than manully removing the tmpfs volume.

Signed-off-by: Jacob Hansen <jhansen at op5.com>

---

 .github/workflows/test.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 06cc441..3e46795 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -74,4 +74,5 @@ jobs:
                 ./configure --enable-libtap --with-ipv6=no && \
                 make && \
                 make test'
-          docker volume rm tmp-vol
+          docker container prune -f
+          docker volume prune -f



More information about the Commits mailing list