Create .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lennard Brinkhaus 2022-01-10 17:35:28 +01:00
parent 1e155ed2c1
commit 6e1b8368b7
No known key found for this signature in database
GPG Key ID: 015DB28D8EEE19EC
2 changed files with 58 additions and 0 deletions

52
.drone.yml Normal file
View File

@ -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

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>