php/.drone.yml
lbrinkhaus 7269e9ae64
Some checks reported errors
continuous-integration/drone/push Build was killed
make docker-php-ext-source executable for php 8 and make parallel pipelines
2022-01-12 11:57:34 +01:00

73 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
depends_on:
- docker_php_7.4
- docker_php_8.1
---
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