Skip to content

Commit

Permalink
extracts chart version in GitHub attach manifest action (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey authored Oct 26, 2024
1 parent 8ff9083 commit ff04d5c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,16 @@ jobs:
helm template kubetail charts/kubetail --values hack/kubetail-values-clusterauth.yaml > kubetail-clusterauth.yaml
helm template kubetail charts/kubetail --values hack/kubetail-values-tokenauth.yaml > kubetail-tokenauth.yaml
- name: Get kubetail chart version
id: get_version
uses: mikefarah/yq@v4
with:
cmd: yq '.version' charts/kubetail/Chart.yaml

- name: Attach quickstart manifests to gh release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
tag_name: kubetail-${{ steps.get_version.outputs.result }}
files: |
kubetail-clusterauth.yaml
kubetail-tokenauth.yaml

0 comments on commit ff04d5c

Please sign in to comment.