This commit is contained in:
@@ -8,6 +8,11 @@ jobs:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
- name: Clone
|
||||||
|
run: |
|
||||||
|
git clone https://git.plfai.cn/test/fastapi-demo.git .
|
||||||
|
git checkout ${GITHUB_SHA}
|
||||||
|
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
run: |
|
run: |
|
||||||
docker build --network host \
|
docker build --network host \
|
||||||
|
|||||||
Reference in New Issue
Block a user