70 lines
1.3 KiB
YAML
70 lines
1.3 KiB
YAML
|
kind: pipeline
|
||
|
name: build
|
||
|
type: kubernetes
|
||
|
|
||
|
steps:
|
||
|
- name: docker_php_7.4
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
context: 7.4/
|
||
|
dockerfile: 7.4/Dockerfile
|
||
|
registry: harbor.dragse.it
|
||
|
repo: harbor.dragse.it/base/php
|
||
|
tags:
|
||
|
- "7"
|
||
|
- "7.4"
|
||
|
- "7.4.27"
|
||
|
username:
|
||
|
from_secret: repo_username
|
||
|
password:
|
||
|
from_secret: repo_password
|
||
|
- name: docker_php_8.1
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
context: 8.1/
|
||
|
dockerfile: 8.1/Dockerfile
|
||
|
registry: harbor.dragse.it
|
||
|
repo: harbor.dragse.it/base/php
|
||
|
tags:
|
||
|
- "8"
|
||
|
- "8.1"
|
||
|
- "8.1.1"
|
||
|
- "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
|