anyway/.gitea/workflows/backend_build-deploy-prod.yaml
Remy Moll 43f50ec207
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 20s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
even more fixes
2024-09-21 13:47:39 +02:00

25 lines
545 B
YAML

on:
push:
tags:
- v*
name: Build and deploy the backend to production
jobs:
build-and-push:
name: Build and push image
uses: ./.gitea/workflows/workflow_build-image.yaml
with:
tag: stable
secrets:
PACKAGE_REGISTRY_ACCESS: ${{ secrets.PACKAGE_REGISTRY_ACCESS }}
deploy-prod:
name: Deploy to production
uses: ./.gitea/workflows/workflow_deploy-container.yaml
with:
environment: prod
secrets:
PACKAGE_REGISTRY_ACCESS: ${{ secrets.KUBE_CONFIG }}
needs: build-and-push