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:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: docker:24.0.2
|
||||
# remove the volume mount if it's already done by act or runner
|
||||
# options: --privileged # if you need privileged, keep this, else remove
|
||||
image: docker:27.3.1 # official Docker CLI image with Docker installed
|
||||
options: --privileged -v /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
@ -25,5 +24,4 @@ jobs:
|
||||
docker rm flask-app || true
|
||||
|
||||
- name: Run new container
|
||||
run: |
|
||||
docker run -d -p 5000:5000 --name flask-app flask-app
|
||||
run: docker run -d -p 5000:5000 --name flask-app flask-app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user