caddy-keydb-codebreaker/.woodpecker.yml

19 lines
514 B
YAML
Raw Normal View History

2024-08-13 22:21:20 -07:00
pipeline:
build:
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker build -t codebreaker/caddy-keydb:latest .
deploy:
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker pull codebreaker/caddy-keydb:latest
- docker stop caddy-extension || true
- docker rm caddy-extension || true
- docker run -d --name caddy-extension -p 80:80 codebreaker/caddy-keydb:latest