Update .gitea/workflows/main.yml
Build and Push / maintence (push) Successful in 1s
Build and Push / buildApp (push) Successful in 4s
Build and Push / pushApp (push) Failing after 4s

This commit is contained in:
energys
2026-09-26 02:25:32 +09:00
parent fc8693d74f
commit b37ce9c5fd
+1 -48
View File
@@ -1,9 +1,6 @@
name: Build and Push
on:
push:
#branches:
# - main
# - 'feature/**'
jobs:
maintence:
@@ -39,48 +36,4 @@ jobs:
username: gitea
password: ${{ secrets.GITEAPASSWORD }}
- name: Push docker image!
run: docker push git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:$TAG_NAME && docker push git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:latest
- name: Push notification
uses: https://git.tlgrf.ru/actions/rocketchat-notification-action@v3.0.0
with:
server: https://rc.tlgrf.ru
auth-token: ${{ secrets.ROCKETCHAT_AUTH_TOKEN }}
user-id: ${{ secrets.ROCKETCHAT_USER_ID }}
channel: python_rocketchat_api
message: |
Gitea | TLGRF
Repository: ${{ gitea.REPOSITORY }}
*${{ gitea.ACTOR }}* pushed to *${{ gitea.REF_NAME }}*
Commit message: ${{ gitea.event.commits[0].message }}
See changes: https://git.tlgrf.ru/${{ gitea.REPOSITORY }}/commit/${{gitea.SHA}}
```
docker pull git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:${{ env.TAG_NAME }}
```
```
${{ env.TAG_NAME }}
```
#- name: send telegram message on push
# uses: appleboy/telegram-action@master
# with:
# to: -4251930066
# token: ${{ secrets.TELEGRAM_TOKEN_MIKUPTIME }}
# format: markdown
# message: |
# Gitea | TLGRF
#
# Repository: ${{ gitea.REPOSITORY }}
# *${{ gitea.ACTOR }}* pushed to *${{ gitea.REF_NAME }}*
#
# Commit message: ${{ gitea.event.commits[0].message }}
# See changes: https://git.tlgrf.ru/${{ gitea.REPOSITORY }}/commit/${{gitea.SHA}}
# ```
# docker pull git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:${{ env.TAG_NAME }}
# ```
# ```
# ${{ env.TAG_NAME }}
# ```
run: docker push git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:$TAG_NAME && docker push git.tlgrf.ru/${{ gitea.REPOSITORY }}/${{ gitea.REF_NAME }}:latest