diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index a45b8a5..abda1b8 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -18,9 +18,9 @@ jobs: - name: Run SSH server run: | + docker rm -f ssh-server-test || true docker network rm test-net || true docker network create test-net - docker rm -f ssh-server-test || true docker run -d --network test-net --name ssh-server-test -e COMMAND="/bin/sh" ssh-server-test sleep 2 if ! docker ps | grep -q ssh-server-test; then