updated workflow

This commit is contained in:
Marvin Zhang
2022-06-12 14:03:10 +08:00
parent 4d2924467a
commit 4b20bb0dfa

View File

@@ -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