Skip to content

docs(backend): simple readme with run instructions (#1617) #13

docs(backend): simple readme with run instructions (#1617)

docs(backend): simple readme with run instructions (#1617) #13

Workflow file for this run

name: cd/backend
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "backend/**"
jobs:
docker-push:
uses: entur/gha-docker/.github/workflows/[email protected]
with:
environment: prd
context: backend
image_name: tavla/backend
helm-deploy-dev:
needs: [docker-push]
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: dev
chart: backend/helm/backend
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
release_name: backend
approval-step:
runs-on: ubuntu-24.04
needs: [helm-deploy-dev]
environment: apr
steps:
- name: Approval step
id: approval
shell: bash
run: echo "Approve the deployment to prod"
helm-deploy-prd:
needs: [docker-push, approval-step]
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: prd
chart: backend/helm/backend
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
release_name: backend