From 855118a960f0106565d4771bad711543bbc69214 Mon Sep 17 00:00:00 2001 From: Toutsu Date: Fri, 17 Apr 2026 14:22:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=BE=D0=B2=D1=83=D1=8E=20=D0=BF=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=83=D1=8E=20=D0=B2=20=D0=B2?= =?UTF-8?q?=D0=BE=D1=80=D0=BA=D1=84=D0=BB=D0=BE=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6b566ff..1ee1840 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: uses: docker/login-action@v3 with: registry: git.codeanddice.ru # НАПРИМЕР: gitea.my-server.com - username: ${{ gitea.actor }} + username: toutsu password: ${{ secrets.GIT_TOKEN }} - name: Build and push Bot @@ -26,7 +26,7 @@ jobs: context: . file: src/GmRelay.Bot/Dockerfile push: true - tags: git.codeanddice.ru/${{ gitea.actor }}/gmrelay-bot:latest + tags: git.codeanddice.ru/toutsu/gmrelay-bot:latest - name: Build and push Web uses: docker/build-push-action@v5 @@ -34,7 +34,7 @@ jobs: context: . file: src/GmRelay.Web/Dockerfile push: true - tags: git.codeanddice.ru/${{ gitea.actor }}/gmrelay-web:latest + tags: git.codeanddice.ru/toutsu/gmrelay-web:latest # ЧАСТЬ 2: Запускаем эти образы на самом сервере deploy: @@ -53,7 +53,7 @@ jobs: - name: Deploy Containers run: | # Авторизуемся локальным докером в нашей Gitea - docker login git.codeanddice.ru/ -u ${{ gitea.actor }} -p ${{ secrets.GIT_TOKEN }} + docker login git.codeanddice.ru/ -u toutsu -p ${{ secrets.GIT_TOKEN }} # Так как раннер на том же сервере, образ уже закэширован, # но pull гарантирует, что compose подхватит именно свежий latest-тег.