vp-build/.drone.yml

38 lines
668 B
YAML

kind: pipeline
name: always
clone:
depth: 10
volumes:
- name: dronecache
host:
path: /home/xo/dronecache
steps:
- name: build
image: ghcr.io/void-linux/void-linux:20210312rc01-full-x86_64
pull: always
privileged: true
commands:
- 'sh /files/bin/init.sh'
- 'bash /files/bin/autobuild.sh'
- 'bash /files/bin/cleanup.sh'
volumes:
- name: dronecache
path: /files
- name: notify
image: drillster/drone-email
pull: always
when:
status: [ success, changed, failure ]
settings:
host: mail.tzend.de
from: drone@tzend.de
username:
from_secret: email_username
password:
from_secret: email_password