Bump version to 3.4.0 and add Telegram notifications to CI
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 36s

This commit is contained in:
poignatov
2026-01-07 15:06:58 +03:00
parent db74626068
commit b9133f60dc
2 changed files with 44 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ jobs:
echo "${{ secrets.GIT_TOKEN }}" | docker login dungeonsiege.synology.me -u ${{ secrets.GIT_USERNAME }} --password-stdin
- name: Build and Push
id: build
if: steps.version_check.outputs.changed == 'true'
run: |
REGISTRY="dungeonsiege.synology.me/poignatov/play-life"
@@ -54,3 +55,44 @@ jobs:
# Пушим оба тега
docker push $REGISTRY:latest
docker push $REGISTRY:$VER
- name: Send Telegram notification (success)
if: success() && steps.version_check.outputs.changed == 'true'
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
✅ Сборка успешна!
Проект: play-life
Версия: ${{ steps.version_check.outputs.current }}
Ветка: ${{ github.ref_name }}
Коммит: ${{ github.sha }}
- name: Send Telegram notification (failure)
if: failure()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
❌ Сборка завершилась с ошибкой!
Проект: play-life
Версия: ${{ steps.version_check.outputs.current }}
Ветка: ${{ github.ref_name }}
Коммит: ${{ github.sha }}
- name: Send Telegram notification (skipped)
if: steps.version_check.outputs.changed == 'false'
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
Сборка пропущена
Проект: play-life
Версия не изменилась: ${{ steps.version_check.outputs.current }}
Ветка: ${{ github.ref_name }}

View File

@@ -1 +1 @@
3.3.1
3.4.0