trigger workflow

This commit is contained in:
Marvin Zhang
2022-06-10 20:54:04 +08:00
parent 1c7106d6db
commit 94056d2c2e
3 changed files with 8 additions and 113 deletions

View File

@@ -139,8 +139,10 @@ jobs:
run: echo ${{ secrets.DOCKER_PASSWORD}} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Test image
run: |
sleep 15
docker run -d --name crawlab_master --rm image
sleep 10
curl http://localhost:8080/api/system-info
docker stop crawlab_master
- name: Push image
run: |
IMAGE_VERSION=${{needs.setup.outputs.version}}