fix deploy.yml for prod

This commit is contained in:
SlimusMinus
2026-11-19 01:18:43 +03:00
parent e2079c00b2
commit 390180bfbc

View File

@@ -12,5 +12,10 @@ jobs:
run: docker build -t nakhodka-ai:latest -t nakhodka-ai:${{ github.sha }} ai-moderation
- name: Restart ai-service
run: docker compose -f /opt/nakhodka/docker-compose.yml up -d ai-service
- name: Push image to registry
run: |
IMG=git.nahodka-test.online/admin/nakhodka-ai
docker tag nakhodka-ai:${{ github.sha }} $IMG:${{ github.sha }}
docker push $IMG:${{ github.sha }}
- name: Cleanup
run: docker image prune -f