mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
trigger workflow
This commit is contained in:
5
.github/workflows/docker-crawlab.yml
vendored
5
.github/workflows/docker-crawlab.yml
vendored
@@ -133,11 +133,14 @@ jobs:
|
||||
sed -i "s/${IMAGE_NAME}:latest/${IMAGE_NAME}:${IMAGE_VERSION}/" Dockerfile
|
||||
done
|
||||
fi
|
||||
|
||||
- name: Build image
|
||||
run: docker build . --file Dockerfile --tag image
|
||||
- name: Log into registry
|
||||
run: echo ${{ secrets.DOCKER_PASSWORD}} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
- name: Test
|
||||
run: |
|
||||
sleep 15
|
||||
curl http://localhost:8080/api/system-info
|
||||
- name: Push image
|
||||
run: |
|
||||
IMAGE_VERSION=${{needs.setup.outputs.version}}
|
||||
|
||||
Reference in New Issue
Block a user