php/.drone.yml

70 lines
1.3 KiB
YAML
Raw Normal View History

2022-01-11 18:10:20 +00:00
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"
2022-09-10 21:54:25 +00:00
- "7.4.30"
2022-01-11 18:10:20 +00:00
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