From 925a09c6ef1ebfe5087d7feb1903511fb5e15542 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Thu, 26 Sep 2024 11:48:29 +0000
Subject: [PATCH] Added Docker Image prune after deploy

---
 deploy/tfs.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/deploy/tfs.sh b/deploy/tfs.sh
index 189ae11e1..da078a4f3 100755
--- a/deploy/tfs.sh
+++ b/deploy/tfs.sh
@@ -669,6 +669,10 @@ if [[ "$TFS_COMPONENTS" == *"monitoring"* ]] && [[ "$TFS_COMPONENTS" == *"webui"
     printf "\n\n"
 fi
 
+echo "Pruning Docker Images..."
+docker image prune --force
+printf "\n\n"
+
 if [ "$DOCKER_BUILD" == "docker buildx build" ]; then
     echo "Pruning Docker Buildx Cache..."
     docker buildx prune --force
-- 
GitLab