From 679b11b20a9d8bcf3cd5e13fa95eee5244d7817a Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 12 Aug 2019 16:35:07 +0200 Subject: [PATCH] added drone support --- .drone.yaml | 35 +++++++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..bbda3d2 --- /dev/null +++ b/.drone.yaml @@ -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/angry-squid + 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/angry-squid + tags: + - latest + username: + from_secret: docker_username + when: + event: + - tag \ No newline at end of file diff --git a/README.md b/README.md index c262fb1..091a604 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # angry-squid +[![Build Status](https://drone.asperti.com/api/badges/paspo/angry-squid/status.svg)](https://drone.asperti.com/paspo/angry-squid) + Deploy the squid and let it rule! ## features