Nick Slowinski
4b655d19af
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
51 Zeilen
Kein EOL
1 KiB
YAML
51 Zeilen
Kein EOL
1 KiB
YAML
name: build and publish image
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
steps:
|
|
- name: build for testing
|
|
image: plugins/docker
|
|
settings:
|
|
dry_run: true
|
|
repo: nickslowinski/robotter112.de-php-docker
|
|
tags:
|
|
- '7.4-dev'
|
|
- '7-dev'
|
|
username:
|
|
from_secret: ns_docker_username
|
|
password:
|
|
from_secret: ns_docker_password
|
|
when:
|
|
branch:
|
|
- dev/v7.4
|
|
- name: build and publish
|
|
image: plugins/docker
|
|
settings:
|
|
repo: nickslowinski/robotter112.de-php-docker
|
|
tags:
|
|
- '7.4'
|
|
- '7'
|
|
username:
|
|
from_secret: ns_docker_username
|
|
password:
|
|
from_secret: ns_docker_password
|
|
when:
|
|
branch:
|
|
- release/v7.4
|
|
- name: send telegram notification
|
|
image: appleboy/drone-telegram
|
|
settings:
|
|
token:
|
|
from_secret: tg-drone-bot-token
|
|
to:
|
|
from_secret: tg-robotter112.de-chat-id
|
|
message_file: telegram-notification.tpl
|
|
format: markdown
|
|
depends_on:
|
|
- build and publish
|
|
when:
|
|
branch:
|
|
- release/v7.4
|
|
status:
|
|
- failure
|
|
- success |