This commit is contained in:
parent
1d19c512ca
commit
76c9d47502
53
.drone.yml
Normal file
53
.drone.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user