added k8s manifests, removed webhook server
Build and Deploy / build-and-deploy (push) Successful in 37s
Build and Deploy / build-and-deploy (push) Successful in 37s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user