diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e6e1e99..b19b89a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,11 +1,7 @@ name: Docker Image on: - push: - branches: - - master - schedule: - - cron: '20 4 * * *' + workflow_dispatch: ~ jobs: build: @@ -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 @@ -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: | @@ -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 }} diff --git a/.gitmodules b/.gitmodules index b26414c..046f677 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/telegram-bot-api b/telegram-bot-api index 8180845..86dcb71 160000 --- a/telegram-bot-api +++ b/telegram-bot-api @@ -1 +1 @@ -Subproject commit 81808454299921c142d3a6eac0cfddc97981591e +Subproject commit 86dcb710fdb7bc66ddcf81534312c884117b0b4c