2
0
Fork 0
Dieses Repository wurde am 2022-01-07 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
php-docker/.drone.yml

51 Zeilen
1 KiB
YAML

2021-06-18 10:11:41 +02:00
name: build and publish image
2021-06-18 09:09:14 +02:00
kind: pipeline
type: docker
2021-06-18 10:11:41 +02:00
2021-06-18 09:09:14 +02:00
steps:
- name: build for testing
image: plugins/docker
settings:
dry_run: true
repo: nickslowinski/robotter112.de-php-docker
tags:
2021-06-18 15:54:20 +02:00
- '8.0-dev'
- '8-dev'
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
2021-06-18 15:54:20 +02:00
- dev/v8.0
2021-06-18 10:11:41 +02:00
- name: build and publish
2021-06-18 09:09:14 +02:00
image: plugins/docker
settings:
2021-06-18 10:11:41 +02:00
repo: nickslowinski/robotter112.de-php-docker
tags:
2021-06-18 15:54:20 +02:00
- '8.0'
- '8'
2021-06-18 09:09:14 +02:00
username:
2021-06-18 10:11:41 +02:00
from_secret: ns_docker_username
2021-06-18 09:09:14 +02:00
password:
2021-06-18 10:11:41 +02:00
from_secret: ns_docker_password
when:
branch:
2021-06-18 15:54:20 +02:00
- release/v8.0
2021-06-18 10:11:41 +02:00
- 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
2021-06-18 11:15:55 +02:00
format: markdown
2021-06-18 10:11:41 +02:00
depends_on:
- build and publish
when:
2021-06-18 10:22:23 +02:00
branch:
2021-06-18 15:54:20 +02:00
- release/v8.0
2021-06-18 10:11:41 +02:00
status:
- failure
- success