From 733701b14a9c3d39e6f5714c32c4fff9b913dd15 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 27 Dec 2020 19:15:53 +0000 Subject: [PATCH] Trigger build automatically once a week. --- .github/workflows/build_image.yml | 3 ++- README.md | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 05328f6..8259744 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -1,6 +1,7 @@ name: Build Telegram API server on: - workflow_dispatch + schedule: + - cron: "0 2 */7 * *" jobs: build: runs-on: ubuntu-20.04 diff --git a/README.md b/README.md index 9a725e0..e879e61 100644 --- a/README.md +++ b/README.md @@ -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