Skip to content

Commit

Permalink
fix(CI): release of helm charts. (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored May 23, 2024
1 parent 5297152 commit 3a4984b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
needs: [vars]
outputs:
tag: ${{ steps.changelog.outputs.tag }}
version: ${{ steps.changelog.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:
helm-release:
runs-on: ubuntu-22.04
needs: [semantic-release]
if: ${{ needs.semantic-release.outputs.version != '' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -92,7 +94,7 @@ jobs:
- name: package helm chart
shell: bash
run: |
helm package -u --destination=.cr-release-packages --app-version="${{ needs.semantic-release.outputs.tag }}" --version=${{ needs.semantic-release.outputs.tag }} charts/${{ github.event.repository.name }}
helm package -u --destination=.cr-release-packages --app-version="${{ needs.semantic-release.outputs.tag }}" --version=${{ needs.semantic-release.outputs.version }} charts/${{ github.event.repository.name }}
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
Expand Down

0 comments on commit 3a4984b

Please sign in to comment.