From c104e675547ef15b25b44fbddfaeb652eb570068 Mon Sep 17 00:00:00 2001 From: Yadhav Jayaraman <57544838+decyjphr@users.noreply.github.com> Date: Tue, 14 May 2024 19:42:30 -0400 Subject: [PATCH] Update create-release.yml --- .github/workflows/create-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 7ee589c4..487ee396 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -68,6 +68,7 @@ jobs: helm: runs-on: ubuntu-latest + needs: build steps: - name: Clone repo uses: actions/checkout@v4 @@ -84,8 +85,8 @@ jobs: run: | cd helm helm registry login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io - helm package --app-version ${{ github.ref_name }} --version ${{ github.ref_name }} safe-settings - helm push safe-settings-${{ github.ref_name }}.tgz ${{ env.HELM_REPO }} + helm package --app-version ${{ needs.build.outputs.release }} --version ${{ needs.build.outputs.release }} safe-settings + helm push safe-settings-${{ needs.build.outputs.release }}.tgz ${{ env.HELM_REPO }} #trigger-deployment: # needs: build