fix: drone ci - cron

This commit is contained in:
Markus Pesch 2021-01-07 21:28:29 +01:00
parent 8b8380c831
commit a600c9e8f1
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,7 @@ type: docker
name: build-image-x86_64
steps:
- name: build-image-latest
image: docker.io/volkerraschek/build-image:latest
commands:
@ -29,6 +30,7 @@ steps:
- master
event:
- push
- cron
- name: push-image-tagged
image: docker.io/volkerraschek/build-image:latest
@ -47,6 +49,22 @@ steps:
event:
- tag
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host: