docker-mqtt/.drone.yml

35 lines
702 B
YAML
Raw Normal View History

2019-08-12 16:11:19 +00:00
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