Skip to content

Commit

Permalink
Trying to update helm chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlavv committed Nov 20, 2024
1 parent d56f108 commit bfd0d9b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,11 @@ jobs:

- name: Package Helm chart
run: |
helm package opensource
new_version=${{ needs.determine-version.outputs.new_version }}
sed -i.bak 's/^version:.*/version: '"$new_version"'/g' ${{ env.CHART_PATH }}/Chart.yaml
helm package ${{ env.CHART_PATH }}
- name: Push Helm chart to Docker Hub
run: |
echo "Pushing Helm chart to Docker Hub with version ${{ needs.determine-version.outputs.new_version }}"
echo "pushing with version '${{ needs.determine-version.outputs.new_version }}'"
helm push $(ls *.tgz) oci://registry-1.docker.io/bouyguestelecomcharts --version ${{ needs.determine-version.outputs.new_version }}
new_version=${{ needs.determine-version.outputs.new_version }}
helm push $(ls *.tgz) oci://registry-1.docker.io/bouyguestelecomcharts --version "$new_version"

0 comments on commit bfd0d9b

Please sign in to comment.