diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index 66d1daa..e130437 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -18,6 +18,7 @@ jobs: - name: Run SSH server run: | + docker rm -f ssh-server-test || true docker run -d --name ssh-server-test -p 2223:22 -e COMMAND="/bin/sh" ssh-server-test sleep 2 if ! docker ps | grep -q ssh-server-test; then