Skip to content

Commit

Permalink
feat: support get message
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao authored Sep 26, 2023
1 parent 70a98c3 commit 2c94470
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Docker Image

on:
push:
branches:
- master
schedule:
- cron: '20 4 * * *'
workflow_dispatch: ~

jobs:
build:
Expand All @@ -16,7 +12,7 @@ jobs:
- name: Checkout upstream repo
uses: actions/checkout@v2
with:
repository: tdlib/telegram-bot-api
repository: PaiGramTeam/telegram-bot-api
path: telegram-bot-api
submodules: recursive
- name: Cache Docker layers
Expand All @@ -31,8 +27,8 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_LOGIN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set version
id: current-version
run: |
Expand All @@ -49,5 +45,5 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
tags: |
aiogram/telegram-bot-api:latest
aiogram/telegram-bot-api:${{ env.TG_SERVER_VERSION }}
paigramteam/telegram-bot-api:latest
paigramteam/telegram-bot-api:${{ env.TG_SERVER_VERSION }}
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "telegram-bot-api"]
path = telegram-bot-api
url = https://github.com/tdlib/telegram-bot-api.git
url = https://github.com/PaiGramTeam/telegram-bot-api.git

0 comments on commit 2c94470

Please sign in to comment.