docker-devops-helper/.drone.yml

29 lines
688 B
YAML
Raw Normal View History

2021-10-03 13:09:59 +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/admin-helper
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 ]