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