Remove container first
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user