Настройка сборки образов
Deploy Telegram Bot / build-and-push (push) Failing after 19s
Deploy Telegram Bot / deploy (push) Has been skipped

This commit is contained in:
2026-04-17 14:08:51 +03:00
parent c9c5d1ac2a
commit 700bceae0c
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -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-тег.