even more fixes

This commit is contained in:
Remy Moll 2024-09-21 13:47:39 +02:00
parent 0e3f56a131
commit b50126cd3a
4 changed files with 8 additions and 5 deletions

@ -18,6 +18,7 @@ jobs:
name: Deploy to production
uses: ./.gitea/workflows/workflow_deploy-container.yaml
with:
environment: prod
overlay: prod
secrets:
PACKAGE_REGISTRY_ACCESS: ${{ secrets.KUBE_CONFIG }}
needs: build-and-push

@ -17,9 +17,10 @@ jobs:
PACKAGE_REGISTRY_ACCESS: ${{ secrets.PACKAGE_REGISTRY_ACCESS }}
deploy-prod:
name: Deploy to production
name: Deploy to staging
uses: ./.gitea/workflows/workflow_deploy-container.yaml
with:
environment: stg
overlay: stg
secrets:
PACKAGE_REGISTRY_ACCESS: ${{ secrets.KUBE_CONFIG }}
needs: build-and-push

@ -34,5 +34,5 @@ jobs:
uses: docker/build-push-action@v5
with:
context: backend
tags: git.kluster.moll.re/anydev/anyway-backend:${{intputs.tag}}
tags: git.kluster.moll.re/anydev/anyway-backend:${{ inputs.tag }}
push: true

@ -31,4 +31,5 @@ jobs:
- name: Deploy to k8s
run: |
kubectl apply -k backend/deployment/overlays/${{ inputs.overlay }} --kubeconfig=kubeconfig
kubectl apply -k backend/deployment/overlays/${{ inputs.overlay }} --kubeconfig=kubeconfig --validate=false
# skip validation because downloading the schema from the internet is broken anyway