diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index c5457e9..6afa364 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -25,6 +25,7 @@ jobs: - name: Build and run SSH Server Docker Container run: | + docker rm -f ssh-server || true docker build -t my-ssh-server ./ci-tests/ docker run -d -p 2222:22 --name ssh-server my-ssh-server @@ -41,4 +42,4 @@ jobs: - name: Connect to SSH server using SSH key run: | - ssh -i my_ssh_key -p 2222 root@localhost echo "SSH connection successful" + ssh -i my_ssh_key -p 2222 replication@localhost echo "SSH connection successful"