docker-mqtt/.drone.yml
2021-10-01 15:48:24 +02:00

23 lines
469 B
YAML

kind: pipeline
type: docker
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
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
username:
from_secret: docker_username
trigger:
event:
- tag