Nick Slowinski
9c1ac55920
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
49 Zeilen
Kein EOL
989 B
YAML
49 Zeilen
Kein EOL
989 B
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:
|
|
- 'dev'
|
|
username:
|
|
from_secret: ns_docker_username
|
|
password:
|
|
from_secret: ns_docker_password
|
|
when:
|
|
branch:
|
|
- dev
|
|
- 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
|
|
depends_on:
|
|
- build and publish
|
|
when:
|
|
branch:
|
|
- release/v7.4
|
|
status:
|
|
- failure
|
|
- success |