From 5cadf95f3c5da95b5f5e66b5933af4ad8b45ff92 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Fri, 1 Jul 2022 03:16:22 +0200 Subject: [PATCH] add simple drone config --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0382107 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,36 @@ +kind: pipeline +name: deploy +steps: +- name: docker + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: aaronriedel/shbot + tags: latest + when: + branch: + include: + - master + event: + include: + - push +- name: docker-build + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: aaronriedel/shbot + tags: latest + dry_run: true + when: + branch: + exclude: + - master + event: + exclude: + - push \ No newline at end of file