mirror of
https://github.com/lukaszraczylo/tdlib-telegram-bot-api-docker.git
synced 2024-06-15 10:55:24 +03:00
Add api-5.1
tag.
This commit is contained in:
parent
169952b0c9
commit
8dd85a6793
3
.github/workflows/build_image.yml
vendored
3
.github/workflows/build_image.yml
vendored
@ -52,7 +52,8 @@ jobs:
|
||||
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
|
||||
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
|
||||
fi
|
||||
TAGS="$TAGS,$DOCKER_IMAGE:${{ env.GITHUB_SHA }},$DOCKER_IMAGE:1.0.${{ env.GITHUB_RUN_ID }},$DOCKER_IMAGE:latest"
|
||||
TG_API_VERSION=$(grep "project(TelegramBotApi" /home/runner/work/tdlib-telegram-bot-api-docker/tdlib-telegram-bot-api-docker/tdlib-telegram-bot-api/CMakeLists.txt | awk '{print $3}')
|
||||
TAGS="$TAGS,$DOCKER_IMAGE:${{ env.GITHUB_SHA }},$DOCKER_IMAGE:1.0.${{ env.GITHUB_RUN_ID }},$DOCKER_IMAGE:latest,$DOCKER_IMAGE:api-$TG_API_VERSION"
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
# lowercase the branch name
|
||||
BRANCH=$(echo ${GITHUB_REF##*/} | tr '[A-Z]' '[a-z]')
|
||||
|
@ -21,6 +21,7 @@ Build will be triggered automatically once a week to produce the latest version
|
||||
I would set it for the daily release but every build takes ~2.5 hours and generates additional costs on my side.
|
||||
|
||||
Images are versioned in format `1.0.x` where `x` is a build number.
|
||||
There's additional tag added: `api-5.1` where `5.1` is the version of Telegram API supported by the image.
|
||||
|
||||
## How to use the image
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user