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
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user