feat(ci): add deploy
This commit is contained in:
parent
af828dc48e
commit
42d1fe8212
1 changed files with 22 additions and 0 deletions
22
.woodpecker/deploy.yml
Normal file
22
.woodpecker/deploy.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
platform: 'linux/amd64'
|
||||
branches: 'main'
|
||||
|
||||
pipeline:
|
||||
release:
|
||||
image: 'plugins/docker'
|
||||
settings:
|
||||
registry: 'git.rustybever.be'
|
||||
repo: 'git.rustybever.be/chewing_bever/affy'
|
||||
tag:
|
||||
- 'latest'
|
||||
mtu: 1300
|
||||
secrets:
|
||||
- 'docker_username'
|
||||
- 'docker_password'
|
||||
|
||||
deploy:
|
||||
image: 'curlimages/curl'
|
||||
secrets:
|
||||
- 'webhook'
|
||||
commands:
|
||||
- curl -XPOST --fail -s "$WEBHOOK"
|
||||
Loading…
Add table
Add a link
Reference in a new issue