This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user