Trigger redeploy
Some checks failed
Auto Deploy Flask with Docker / deploy (push) Failing after 4m20s
Some checks failed
Auto Deploy Flask with Docker / deploy (push) Failing after 4m20s
This commit is contained in:
parent
beaaa21f2c
commit
a3eb828073
@ -9,9 +9,8 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: docker:24.0.2
|
image: docker:27.3.1 # official Docker CLI image with Docker installed
|
||||||
# remove the volume mount if it's already done by act or runner
|
options: --privileged -v /var/run/docker.sock:/var/run/docker.sock
|
||||||
# options: --privileged # if you need privileged, keep this, else remove
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -25,5 +24,4 @@ jobs:
|
|||||||
docker rm flask-app || true
|
docker rm flask-app || true
|
||||||
|
|
||||||
- name: Run new container
|
- name: Run new container
|
||||||
run: |
|
run: docker run -d -p 5000:5000 --name flask-app flask-app
|
||||||
docker run -d -p 5000:5000 --name flask-app flask-app
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user