fix: drone ci - cron
This commit is contained in:
parent
8b8380c831
commit
a600c9e8f1
18
.drone.yml
18
.drone.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user