docker-autopostgresqlbackup/.drone.yml

29 lines
696 B
YAML
Raw Permalink Normal View History

2021-10-03 13:00:51 +02:00
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 ]