mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
chg: Added stopping the docker image to make clean
This commit is contained in:
parent
0cfa674029
commit
731cb41646
1 changed files with 2 additions and 0 deletions
2
Makefile
2
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 .
|
---tag ${DOCKER_USERNAME}/chhoto-url:latest -platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch .
|
||||||
|
|
||||||
clean:
|
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
|
cargo clean --manifest-path=actix/Cargo.toml
|
||||||
|
|
||||||
.PHONY: build-dev docker-local build-release
|
.PHONY: build-dev docker-local build-release
|
||||||
|
|
Loading…
Reference in a new issue