From 4b20bb0dfa9154b84c8c2b88ab5ceb45f1739f87 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sun, 12 Jun 2022 14:03:10 +0800 Subject: [PATCH] updated workflow --- .github/workflows/docker-crawlab.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-crawlab.yml b/.github/workflows/docker-crawlab.yml index fd9a7b11..74d35c01 100644 --- a/.github/workflows/docker-crawlab.yml +++ b/.github/workflows/docker-crawlab.yml @@ -144,13 +144,14 @@ jobs: - name: Test image run: | - docker run --rm --name crawlab_master \ + docker run --rm -d --name crawlab_master \ -e CRAWLAB_NODE_MASTER=true \ -e CRAWLAB_DEMO=false \ -e CRAWLAB_MONGO_HOST=localhost \ -e CRAWLAB_MONGO_PORT=27017 \ -p 8080:8080 \ - image & + image + docker logs -f crawlab_master & docker exec crawlab_master env sleep 30 docker ps