From b8825da809fa927053c2b8f82a1caa93e3bd0ff6 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Fri, 22 Nov 2024 17:52:58 -0600 Subject: [PATCH] Adding version to helm chart publish job Signed-off-by: Alfredo Gutierrez --- .github/workflows/release-push-image.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-push-image.yaml b/.github/workflows/release-push-image.yaml index 725f797c..4fc95bd1 100644 --- a/.github/workflows/release-push-image.yaml +++ b/.github/workflows/release-push-image.yaml @@ -125,6 +125,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Extract version + id: extract_version + run: | + VERSION=$(grep 'version=' gradle.properties | cut -d '=' -f2) + echo "VERSION=${VERSION}" >> $GITHUB_ENV + - name: Package helm chart run: | helm package charts/hedera-block-node