Skip to content

Commit b6afb1a

Browse files
authored
Update create-release.yml (#629)
1 parent c00eb5f commit b6afb1a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/create-release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868

6969
helm:
7070
runs-on: ubuntu-latest
71+
needs: build
7172
steps:
7273
- name: Clone repo
7374
uses: actions/checkout@v4
@@ -84,8 +85,8 @@ jobs:
8485
run: |
8586
cd helm
8687
helm registry login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
87-
helm package --app-version ${{ github.ref_name }} --version ${{ github.ref_name }} safe-settings
88-
helm push safe-settings-${{ github.ref_name }}.tgz ${{ env.HELM_REPO }}
88+
helm package --app-version ${{ needs.build.outputs.release }} --version ${{ needs.build.outputs.release }} safe-settings
89+
helm push safe-settings-${{ needs.build.outputs.release }}.tgz ${{ env.HELM_REPO }}
8990
9091
#trigger-deployment:
9192
# needs: build

0 commit comments

Comments
 (0)