docker-mqtt/.drone.yml

23 lines
469 B
YAML
Raw Permalink Normal View History

2019-08-12 16:11:19 +00:00
kind: pipeline
2021-10-01 13:48:24 +00:00
type: docker
2019-08-12 16:11:19 +00:00
name: default
steps:
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mqtt
tags:
- latest
2021-10-01 13:48:24 +00:00
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
2019-08-12 16:11:19 +00:00
username:
from_secret: docker_username
2021-10-01 13:48:24 +00:00
trigger:
event:
- tag