From 76c9d47502fdbf58cbdf5656ff3101b690626075 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 10 Jan 2022 15:03:11 +0100 Subject: [PATCH] Fix drone pipeline file name --- .drone.yml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ drone.yml | 0 2 files changed, 53 insertions(+) create mode 100644 .drone.yml delete mode 100644 drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..3f7b33a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,53 @@ +kind: pipeline +name: build +type: kubernetes + +steps: + - name: docker_nginx_1.21 + image: plugins/docker + settings: + dockerfile: 1.21/Dockerfile + registry: harbor.dragse.it + repo: harbor.dragse.it/base/nginx + tags: + - "1.21" + - "1.21.5" + - "mainline" + - "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/drone.yml b/drone.yml deleted file mode 100644 index e69de29..0000000