mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 05:58:58 +01:00
67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
matrix:
|
|
php:
|
|
- "8.1"
|
|
platform:
|
|
- linux/arm64
|
|
|
|
platform: ${platform}
|
|
|
|
clone:
|
|
git:
|
|
when:
|
|
event:
|
|
- tag
|
|
- push
|
|
image: woodpeckerci/plugin-git:v1.5.0
|
|
settings:
|
|
depth: 1
|
|
lfs: false
|
|
recursive: false
|
|
tags: true
|
|
|
|
pipeline:
|
|
build:
|
|
group: build
|
|
image: danog/madelineproto:next
|
|
when:
|
|
event:
|
|
- tag
|
|
- push
|
|
secrets:
|
|
- GITHUB_TOKEN
|
|
- API_ID
|
|
- API_HASH
|
|
- BOT_TOKEN
|
|
- DEST
|
|
- DEPLOY_KEY
|
|
environment:
|
|
- PHP_VERSION=${php}
|
|
- PLATFORM=${platform}
|
|
- TAG=${CI_COMMIT_TAG}
|
|
commands:
|
|
- apk add bash
|
|
- /bin/bash tests/makephar.sh
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb
|
|
environment:
|
|
- MARIADB_DATABASE=MadelineProto
|
|
- MARIADB_USER=MadelineProto
|
|
- MARIADB_PASSWORD=test
|
|
- MARIADB_RANDOM_ROOT_PASSWORD=yes
|
|
|
|
postgres:
|
|
image: postgres
|
|
environment:
|
|
- POSTGRES_DB=MadelineProto
|
|
- POSTGRES_USER=MadelineProto
|
|
- POSTGRES_PASSWORD=test
|
|
|
|
redis:
|
|
image: redis
|
|
|
|
|
|
depends_on:
|
|
- build-docker
|