adding drone ci yaml
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details

pull/2/head
Adam Veldhousen 2021-03-12 18:16:14 -06:00
parent 39f77a9099
commit 741bf3fdbb
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 34 additions and 0 deletions

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
kind: pipeline
type: docker
name: default
steps:
- name: docker build and publish
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- make build publish
when:
branch:
- master
steps:
- name: docker build
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- make build
when:
branch:
exclude:
- master
volumes:
- name: dockersock
host:
path: /var/run/docker.sock