From 6e1b8368b7316e22a39b912e7ecb84e2bffce019 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 10 Jan 2022 17:35:28 +0100 Subject: [PATCH] Create .drone.yml --- .drone.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ .idea/vcs.xml | 6 ++++++ 2 files changed, 58 insertions(+) create mode 100644 .drone.yml create mode 100644 .idea/vcs.xml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f341470 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,52 @@ +kind: pipeline +name: build +type: kubernetes + +steps: + - name: docker_webdav_1.21 + image: plugins/docker + settings: + dockerfile: Dockerfile + registry: harbor.dragse.it + repo: harbor.dragse.it/base/webdav + tags: + - "1.21" + - "1.21.5" + - "latest" + username: + from_secret: repo_username + password: + from_secret: repo_password + - name: send telegram notification + image: appleboy/drone-telegram + settings: + token: + from_secret: tele_token + to: + from_secret: tele_user + +--- +kind: secret +name: repo_username +get: + path: repo-credentials + name: username +--- +kind: secret +name: repo_password +get: + path: repo-credentials + name: password + +--- +kind: secret +name: tele_user +get: + path: telegram-notification + name: user_id +--- +kind: secret +name: tele_token +get: + path: telegram-notification + name: token diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file