From 5dd9ff62ac274ce52d79545ac1c130eeadab7149 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Sat, 18 May 2019 14:14:08 +0200 Subject: [PATCH] drone support --- .drone.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..02b3e8e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,34 @@ +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/ftps + tags: + - latest + when: + event: + exclude: + - tag + + - name: build_and_publish + image: plugins/docker:linux-amd64 + pull: always + settings: + daemon_off: false + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/ftps + tags: + - latest + username: + from_secret: docker_username + when: + event: + - tag \ No newline at end of file