Add zitadel deployment

This commit is contained in:
2024-03-15 21:37:43 +01:00
parent 2e233abfd6
commit befd578bf9
9 changed files with 81 additions and 41 deletions

View File

@@ -48,18 +48,3 @@ jobs:
push: true
context: "{{defaultContext}}:auth-service"
tags: vcscsvcscs/gheritage-auth-service:${{steps.create_image_tag.outputs.result}}
deployment:
name: Deploy to Kubernetes
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to Kubernetes
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -k deployment/auth-service/

View File

@@ -48,18 +48,3 @@ jobs:
push: true
context: "{{defaultContext}}:backend"
tags: vcscsvcscs/gheritage-backend-service:${{steps.create_image_tag.outputs.result}}
deployment:
name: Deploy to Kubernetes
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to Kubernetes
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -k deployment/backend/

View File

@@ -1,4 +1,4 @@
name: Deploy
name: Deploy Zitadel to Kubernetes
on:
push:
# branches:
@@ -9,6 +9,7 @@ on:
jobs:
deployment:
name: Deploy Zitadel to Kubernetes
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4