change test2
This commit is contained in:
@@ -18,9 +18,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run SSH server
|
- name: Run SSH server
|
||||||
run: |
|
run: |
|
||||||
|
docker rm -f ssh-server-test || true
|
||||||
docker network rm test-net || true
|
docker network rm test-net || true
|
||||||
docker network create test-net
|
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
|
docker run -d --network test-net --name ssh-server-test -e COMMAND="/bin/sh" ssh-server-test
|
||||||
sleep 2
|
sleep 2
|
||||||
if ! docker ps | grep -q ssh-server-test; then
|
if ! docker ps | grep -q ssh-server-test; then
|
||||||
|
|||||||
Reference in New Issue
Block a user