added drone support
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2019-04-29 01:06:25 +02:00
parent 23110ae184
commit 2b408df2e8
Signed by: paspo
GPG Key ID: 06D46905D19D5182

33
.drone.yml Normal file
View File

@ -0,0 +1,33 @@
kind: pipeline
name: default
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
dry_run: true
repo: paspo/sip-recorder
tags:
- latest
when:
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
password:
from_secret: docker_password
repo: paspo/sip-recorder
tags:
- latest
username:
from_secret: docker_username
when:
event:
- tag