1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-25 23:28:37 -06:00

chg: Added stopping the docker image to make clean

This commit is contained in:
Sayantan Santra 2024-03-25 16:44:47 -05:00
parent 0cfa674029
commit 731cb41646
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -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