From 7091aa67c661c7e166c484e51b04a12d7c0121c1 Mon Sep 17 00:00:00 2001 From: Tucker Siegel <tgsiegel@umd.edu> Date: Wed, 1 Dec 2021 14:47:19 -0500 Subject: [PATCH] update --- dawn-cli/staging | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dawn-cli/staging b/dawn-cli/staging index 6ff93c6..e0a9a39 100644 --- a/dawn-cli/staging +++ b/dawn-cli/staging @@ -22,10 +22,12 @@ pipeline { stage('cleanup old images') { steps { sh ''' - docker image prune || true + docker rmi $(docker images | grep "dawn/.*-test" | awk '{print $3}') --force || true + docker rmi $(docker images | grep "<none>" | awk '{print $3}') --force || true ''' } } + // stage('cleanup old images') { // steps { // sh ''' -- GitLab