added k8s manifests, removed webhook server
Build and Deploy / build-and-deploy (push) Successful in 37s

This commit is contained in:
2026-05-23 13:07:49 +03:00
parent 6d7124d274
commit 0bedc8d508
14 changed files with 171 additions and 186 deletions
+7 -19
View File
@@ -25,30 +25,18 @@ jobs:
- name: Build and push postgres image
uses: docker/build-push-action@v5
# if: |
# contains(github.event.commits[0].modified, 'infra/docker/postgres-pg-cron') ||
# contains(github.event.commits[0].added, 'infra/docker/postgres-pg-cron')
if: |
contains(github.event.commits[0].modified, 'infra/postgres-pg-cron') ||
contains(github.event.commits[0].added, 'infra/postgres-pg-cron')
with:
context: .
file: infra/docker/postgres-pg-cron/Dockerfile
file: infra/postgres/Dockerfile
push: true
tags: |
${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub-postgres:latest
${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:${{ github.sha }}
cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:cache
cache-to: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:cache,mode=max
# - name: Build and push webhook image
# uses: docker/build-push-action@v5
# with:
# context: .
# file: infra/webhook/Dockerfile
# push: true
# tags: |
# ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub-webhook:latest
# ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:${{ github.sha }}
# cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:cache
# cache-to: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub:cache,mode=max
${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub-postgres:${{ github.sha }}
cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub-postgres:cache
cache-to: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/familyhub-postgres:cache,mode=max
- name: Build and push app image
uses: docker/build-push-action@v5