site-backend/.woodpecker.yml

26 lines
438 B
YAML
Raw Normal View History

2022-04-02 13:45:04 +02:00
platform: linux/amd64
2022-04-02 15:41:51 +02:00
branches: main
2022-04-02 13:45:04 +02:00
pipeline:
release:
image: 'plugins/docker'
settings:
repo: 'chewingbever/site'
tag:
- 'latest'
- "${CI_COMMIT_TAG}"
secrets:
- 'docker_username'
- 'docker_password'
2022-04-02 13:52:48 +02:00
when:
event: tag
2022-04-02 13:45:04 +02:00
deploy:
image: 'curlimages/curl'
secrets:
- 'webhook'
commands:
- curl -XPOST --fail -s "$WEBHOOK"
2022-04-02 13:52:48 +02:00
when:
event: tag