redis/.drone.yml

55 lines
935 B
YAML
Raw Permalink Normal View History

2022-01-14 14:41:12 +00:00
kind: pipeline
name: build
type: kubernetes
steps:
- name: docker_redis_6.2
image: plugins/docker
settings:
context: 6.2/
dockerfile: 6.2/Dockerfile
registry: harbor.dragse.it
repo: harbor.dragse.it/base/redis
tags:
- "6"
- "6.2"
- "6.2.6"
- "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