From 52a184a360030c804f909e40d145cf9bfa6112ff Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 12 Aug 2019 18:11:19 +0200 Subject: [PATCH] drone support --- .drone.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5bacb49 --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file