Skip to content

Commit

Permalink
fix: extract correct verson for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Fovty committed Apr 17, 2024
1 parent fb43b65 commit 595d6ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/helm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ jobs:
MTR: mtr.devops.telekom.de
REPO: caas

- name: Extract Chart Version
id: chart_version
run: |
version=$(yq e '.version' ./chart/Chart.yaml)
echo "::set-output name=version::$version"
- name: Dispatch Event to Helm-Charts Repo
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: caas-team/helm-charts
event-type: new-helm-chart-version
client-payload: '{"tag": "${{ github.ref_name }}"}'
client-payload: '{"chart": "py-kube-downscaler", "version": "${{ steps.chart_version.outputs.version }}"}'

0 comments on commit 595d6ca

Please sign in to comment.