From f851876c0b408128b41e95bc97242e778ae47596 Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 20:43:50 +0100 Subject: [PATCH] Remove container first --- .gitea/workflows/build-and-push.yml | 1 + 1 file changed, 1 insertion(+) 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