Skip to content

cd/backend

cd/backend #5

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_tag: 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

Check failure on line 26 in .github/workflows/cd-backend.yml

View workflow run for this annotation

GitHub Actions / cd/backend

Invalid workflow file

The workflow is not valid. .github/workflows/cd-backend.yml (Line: 26, Col: 21): Invalid input, release-name is not defined in the referenced workflow.
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