From 731cb416466d084d915d1afcebd0738f71763977 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 25 Mar 2024 16:44:47 -0500 Subject: [PATCH] chg: Added stopping the docker image to make clean --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 30dac00..faeb1bd 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,8 @@ docker-release: build-release ---tag ${DOCKER_USERNAME}/chhoto-url:latest -platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch . clean: + docker ps -q --filter "name=chhoto-url" | xargs -r docker stop + docker ps -aq --filter "name=chhoto-url" | xargs -r docker rm cargo clean --manifest-path=actix/Cargo.toml .PHONY: build-dev docker-local build-release