site-backend/.woodpecker.yml

24 lines
410 B
YAML

platform: linux/amd64
branch: main
pipeline:
release:
image: 'plugins/docker'
settings:
repo: 'chewingbever/site'
tag:
- 'latest'
- "${CI_COMMIT_TAG}"
secrets:
- 'docker_username'
- 'docker_password'
when: tag
deploy:
image: 'curlimages/curl'
secrets:
- 'webhook'
commands:
- curl -XPOST --fail -s "$WEBHOOK"
when: tag