feat(chart publishing): added initial publish-workflow

This commit is contained in:
jklein committed 2026-02-23 11:55:13 +01:00
1 parent 2b3404f5cc
commit 5fb0571321
2 files changed
+80

No files matched your search

+8
View File
@@ -27,6 +27,8 @@ on:
required: true
jobs:
publish-helm-chart:
outputs:
chart-version: ${{ steps.get-chart-version.outputs.CHART_VERSION }}
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
@@ -40,6 +42,12 @@ jobs:
- name: "Package Helm Chart"
run: helm package ${{ inputs.chart-name }}
working-directory: ${{ inputs.chart-location }}
- name: "Get Helm Chart Version"
id: get-chart-version
run: |-
CHART_VERSION=$(grep '^version:' ${{ inputs.chart-name}}/Chart.yaml | awk '{print $2}')
"CHART_VERSION=$CHART_VERSION" >> $GITHUB_OUTPUT
working-directory: ${{ inputs.chart-location }}
- name: "Load Helm Registry Credentials"
id: load-jk-cr-creds
uses: 1password/load-secrets-action@v2