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