Fix ci
Test & Deploy to Snapdeploy / build-test-deploy (push) Failing after 23m35s

This commit is contained in:
2026-06-06 00:06:59 +03:00
parent 17b2e617d7
commit efd67ef1e3
+11 -6
View File
@@ -35,14 +35,19 @@ jobs:
run: |
docker run --rm eventhub-api-tests:latest
# ---------- Пуш основного образа в Registry (опционально) ----------
- name: Push eventhub image to Gitea Registry
- name: Login to Gitea Container Registry
if: success()
uses: docker/build-push-action@v4
uses: docker/login-action@v2
with:
context: .
push: true
tags: git.sabilin.com/eventhub/eventhub:test
registry: git.sabilin.com
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Tag and push eventhub image
if: success()
run: |
docker tag eventhub:latest git.sabilin.com/eventhub/eventhub:test
docker push git.sabilin.com/eventhub/eventhub:test
# ---------- Деплой на Snapdeploy ----------
- name: Deploy to Snapdeploy