From 700bceae0cae58166e4fae298c64444b9f4a87ef Mon Sep 17 00:00:00 2001 From: Toutsu Date: Fri, 17 Apr 2026 14:08:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D0=B7=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 8 ++++---- compose.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 41de090..6b566ff 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: - registry: https://git.codeanddice.ru # НАПРИМЕР: gitea.my-server.com + registry: git.codeanddice.ru # НАПРИМЕР: gitea.my-server.com username: ${{ gitea.actor }} password: ${{ secrets.GIT_TOKEN }} @@ -26,7 +26,7 @@ jobs: context: . file: src/GmRelay.Bot/Dockerfile push: true - tags: https://git.codeanddice.ru/${{ gitea.actor }}/gmrelay-bot:latest + tags: git.codeanddice.ru/${{ gitea.actor }}/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: https://git.codeanddice.ru/${{ gitea.actor }}/gmrelay-web:latest + tags: git.codeanddice.ru/${{ gitea.actor }}/gmrelay-web:latest # ЧАСТЬ 2: Запускаем эти образы на самом сервере deploy: @@ -53,7 +53,7 @@ jobs: - name: Deploy Containers run: | # Авторизуемся локальным докером в нашей Gitea - docker login https://git.codeanddice.ru/ -u ${{ gitea.actor }} -p ${{ secrets.GIT_TOKEN }} + docker login git.codeanddice.ru/ -u ${{ gitea.actor }} -p ${{ secrets.GIT_TOKEN }} # Так как раннер на том же сервере, образ уже закэширован, # но pull гарантирует, что compose подхватит именно свежий latest-тег. diff --git a/compose.yaml b/compose.yaml index 65090a1..8e0128e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -18,7 +18,7 @@ services: retries: 10 bot: - image: https://git.codeanddice.ru/toutsu/gmrelay-bot:latest + image: git.codeanddice.ru/toutsu/gmrelay-bot:latest container_name: gmrelay_bot restart: always network_mode: host @@ -30,7 +30,7 @@ services: - "Telegram__BotToken=${TELEGRAM_BOT_TOKEN}" web: - image: https://git.codeanddice.ru/toutsu/gmrelay-web:latest + image: git.codeanddice.ru/toutsu/gmrelay-web:latest container_name: gmrelay_web restart: always network_mode: host