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