updated workflow

This commit is contained in:
Marvin Zhang
2022-06-12 13:37:11 +08:00
parent 7bfc22bf21
commit e25aaef7a9

View File

@@ -144,13 +144,13 @@ jobs:
- name: Test image
run: |
docker run -d --rm --name crawlab_master \
docker run --rm --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 exec crawlab_master env
sleep 30
docker ps