2022-04-02 13:45:04 +02:00
|
|
|
platform: linux/amd64
|
|
|
|
branch: main
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
release:
|
|
|
|
image: 'plugins/docker'
|
|
|
|
settings:
|
|
|
|
repo: 'chewingbever/site'
|
|
|
|
tag:
|
|
|
|
- 'latest'
|
|
|
|
- "${CI_COMMIT_TAG}"
|
|
|
|
secrets:
|
|
|
|
- 'docker_username'
|
|
|
|
- 'docker_password'
|
2022-04-02 13:46:44 +02:00
|
|
|
when: 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:46:44 +02:00
|
|
|
when: tag
|