From f044420ccea1a8c30b317e863b8462e18393a7a4 Mon Sep 17 00:00:00 2001 From: Moe Shehab <52987806+mhmdksh@users.noreply.github.com> Date: Thu, 9 May 2024 15:04:05 +0400 Subject: [PATCH] Update stop-devouch.yml --- .github/workflows/stop-devouch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stop-devouch.yml b/.github/workflows/stop-devouch.yml index 16918ca..bd89580 100644 --- a/.github/workflows/stop-devouch.yml +++ b/.github/workflows/stop-devouch.yml @@ -19,6 +19,6 @@ jobs: script: | cd $HOME/DeVouch-BE docker compose stop devouch squid-db - docker compose rm devouch squid-db - docker rmi $(docker images | grep 'devouch' | awk '{print $3}') + docker compose rm -f -v devouch squid-db + docker rmi -f $(docker images | grep 'devouch' | awk '{print $3}') docker volume rm $(docker volume ls | grep 'db-data' | awk '{print $2}')