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

View File

@ -3,6 +3,7 @@ type: docker
name: build-image-x86_64 name: build-image-x86_64
steps: steps:
- name: build-image-latest - name: build-image-latest
image: docker.io/volkerraschek/build-image:latest image: docker.io/volkerraschek/build-image:latest
commands: commands:
@ -29,6 +30,7 @@ steps:
- master - master
event: event:
- push - push
- cron
- name: push-image-tagged - name: push-image-tagged
image: docker.io/volkerraschek/build-image:latest image: docker.io/volkerraschek/build-image:latest
@ -47,6 +49,22 @@ steps:
event: event:
- tag - 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: volumes:
- name: docker_socket - name: docker_socket
host: host: