From f73659aa45f35bfa4ab3cb4c888181bad1db2bb2 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 7 Feb 2022 23:25:36 +0100 Subject: [PATCH] add drone CI --- .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..7b0b259 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,36 @@ +kind: pipeline +name: default + +image_pull_secrets: + - docker_config_json + +trigger: + branch: + - master + event: + - push + +steps: + - name: build docker image + image: plugins/docker + settings: + registry: registry.decapod.one + username: + from_secret: registry.decapod.one-user + password: + from_secret: registry.decapod.one-password + auto_tag: true + repo: registry.decapod.one/brethil/dotfiles + dockerfile: Dockerfile + tags: + - latest + + - name: notify + image: registry.decapod.one/toolchain:latest + environment: + BRETELLOFIER_TOKEN: + from_secret: bretellofier_token + BRETELLOFIER_RECIPIENTS: + from_secret: bretellofier_recipients + commands: + - echo "[drone] Succesfully built brethil/dotfiles" | bretellofier