trigger workflow

This commit is contained in:
Marvin Zhang
2022-06-10 20:49:57 +08:00
parent 8a5f30ade7
commit dbfc83a28a

View File

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