29 lines
696 B
YAML
29 lines
696 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build and publish docker image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
storage_driver: vfs # required for Synology Docker
|
||
|
username:
|
||
|
from_secret: "Docker_Hub_Username"
|
||
|
password:
|
||
|
from_secret: "Docker_Hub_Token"
|
||
|
repo: rogersik/autopostgresqlbackup
|
||
|
tags: latest
|
||
|
|
||
|
- name: notify
|
||
|
image: drillster/drone-email
|
||
|
settings:
|
||
|
host: mailcow.basecom.de
|
||
|
from:
|
||
|
from_secret: "Notifications_Address"
|
||
|
username:
|
||
|
from_secret: "Notifications_Address"
|
||
|
password:
|
||
|
from_secret: "Notifications_Address_Password"
|
||
|
recipients:
|
||
|
from_secret: "Notifications_Address_Recipients"
|
||
|
when:
|
||
|
status: [ failure ]
|