anyway/.gitea/workflows/backend_build-deploy-prod.yaml

24 lines
485 B
YAML

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