Skip to content

Add Workflows

Add Workflows #1

name: Release Charts on Tag
on:
push:
tags:
- '.+-[0-9]+.[0-9]+.[0-9]+'
concurrency:
group: chart-release
jobs:
get_tag:
runs-on: ubuntu-latest
outputs:
chart: ${{ steps.nameTag.outputs.chart }}
version: ${{ steps.nameTag.outputs.version }}
steps:
- name: Filter Tag name
uses: olegtarasov/[email protected]
id: nameTag
with:
tagRegex: "(?<chart>.+?)-(?<version>[0-9]+.[0-9]+.[0-9]+)"
scan:
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/check-helm-kics.yaml@7
permissions:
contents: read
release_helm:
needs: scan
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/chart-release.yaml@7
secrets: inherit
needs: get_tag

Check failure on line 31 in .github/workflows/helm-chart-release-on-tag.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/helm-chart-release-on-tag.yaml

Invalid workflow file

You have an error in your yaml syntax on line 31
with:
chart_path: "."
chart_name: ${{ needs.get_tag.outputs.chart }}
helm_chart_version_generation: specified
helm_chart_version: ${{ needs.get_tag.outputs.version }}
image_tag_generation: chart_yaml