This commit is contained in:
parent
0ec3b9db9c
commit
e399f75453
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
when:
|
when:
|
||||||
event: push
|
branch: main
|
||||||
image: docker
|
image: docker
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -10,7 +10,7 @@ steps:
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
when:
|
when:
|
||||||
event: push
|
branch: main
|
||||||
image: docker
|
image: docker
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -19,3 +19,4 @@ steps:
|
||||||
- docker stop caddy-extension || true
|
- docker stop caddy-extension || true
|
||||||
- docker rm caddy-extension || true
|
- docker rm caddy-extension || true
|
||||||
- docker run -d --name caddy-extension -p 80:80 codebreaker/caddy-keydb:latest
|
- docker run -d --name caddy-extension -p 80:80 codebreaker/caddy-keydb:latest
|
||||||
|
depends_on: build
|
||||||
|
|
Loading…
Reference in a new issue