Compare commits

...

1 Commits

Author SHA1 Message Date
b50126cd3a even more fixes
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m44s
Build and deploy the backend to staging / Deploy to staging (pull_request) Failing after 12s
2024-09-21 14:16:02 +02:00
4 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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