add drone build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Emil Lerch 2020-11-27 17:07:14 -08:00
parent f2059ad480
commit 5d2945a145
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

48
.drone.yml Normal file
View File

@ -0,0 +1,48 @@
kind: pipeline
type: docker
name: default
steps:
- name: make
image: docker:dind
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_secret: docker_password
REGISTRY:
from_secret: docker_registry
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
- docker login -u $USERNAME -p $PASSWORD $REGISTRY
- make manifest-list
- name: notify
image: plugins/matrix
when:
status:
- success
- failure
settings:
homeserver:
from_secret: matrix-homeserver
roomid:
from_secret: matrix-room-id
userid:
from_secret: matrix-user-id
accesstoken:
from_secret: matrix-access-token
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}