woodpecker stuff
This commit is contained in:
parent
a295879d6e
commit
c24d0d9941
1 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker build -t codebreaker/caddy-keydb:latest .
|
- docker build -t codebreaker/caddy-keydb:latest .
|
||||||
|
|
||||||
deploy:
|
- name: deploy
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -15,4 +15,3 @@ pipeline:
|
||||||
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue