Trigger build automatically once a week.

This commit is contained in:
Lukasz Raczylo 2020-12-27 19:15:53 +00:00
parent 8009511d86
commit 733701b14a
No known key found for this signature in database
GPG Key ID: 4C68D09621D47E6B
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
name: Build Telegram API server
on:
workflow_dispatch
schedule:
- cron: "0 2 */7 * *"
jobs:
build:
runs-on: ubuntu-20.04

View File

@ -5,6 +5,11 @@ Produce working, minimal Docker image for the Telegram Bot API server together w
to use pipeline generating builds on the changes within the main repository managed by
Telegram team.
## Build schedule
Build will be triggered automatically once a week to produce the latest version of the Telegram API Server.
I would set it for the daily release but every build takes ~25 minutes and generates additional costs on my side.
Images are versioned in format `1.0.x` where `x` is a build number.
## How to use the image
### Github authentication