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

This commit is contained in:
Paolo Asperti 2019-08-12 18:11:19 +02:00
parent 20fe7e478a
commit 52a184a360
Signed by: paspo
GPG Key ID: 06D46905D19D5182

35
.drone.yml Normal file
View File

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