diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index 67d66e28..1c229332 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -17,21 +17,14 @@ jobs: - name: Install Helm uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 #v3.5 - - name: Install yq - uses: chrisdickinson/setup-yq@3d931309f27270ebbafd53f2daee773a82ea1822 #v1.0.1 - with: - yq-version: v4.24.5 - - name: Login to Github Container Registry using helm run: echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin - name: Package helm charts run: | - chartVersion=$(helm show chart chart/mongodb-query-exporter | yq e '.version') - appVersion=$(helm show chart chart/mongodb-query-exporter | yq e '.version') - helm package chart/mongodb-query-exporter --version=$chartVersion --app-version=$appVersion -d chart + helm package chart/mongodb-query-exporter -d chart - name: Publish helm charts to Github Container Registry run: | repository=$(echo "${{ github.repository_owner }}" | tr [:upper:] [:lower:]) - helm push ${{ github.workspace }}/chart/mongodb-query-exporter-*.tgz oci://ghcr.io/$repository/charts \ No newline at end of file + helm push ${{ github.workspace }}/chart/mongodb-query-exporter-*.tgz oci://ghcr.io/$repository/charts diff --git a/chart/mongodb-query-exporter/Chart.yaml b/chart/mongodb-query-exporter/Chart.yaml index 88b0f02b..5c0a17c7 100644 --- a/chart/mongodb-query-exporter/Chart.yaml +++ b/chart/mongodb-query-exporter/Chart.yaml @@ -15,4 +15,4 @@ keywords: name: mongodb-query-exporter sources: - https://github.com/raffis/mongodb-query-exporter -version: 3.0.0 +version: 3.0.1