feat(ci): add deploy
parent
af828dc48e
commit
42d1fe8212
|
@ -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…
Reference in New Issue