From 643fb9a92ff7ac9ff2d42fb4e78b987e5564bb81 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Mon, 4 Jul 2022 11:19:25 +0200 Subject: [PATCH] add drone ci --- .drone.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..f748683 --- /dev/null +++ b/.drone.yaml @@ -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/nextcloud-fpm + tags: latest + when: + branch: + include: + - main + event: + include: + - push +- name: docker-build + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: aaronriedel/nextcloud-fpm + tags: latest + dry_run: true + when: + branch: + exclude: + - main + event: + exclude: + - push \ No newline at end of file