From 7e2fb1b5a7ce863d417cddcb3abb1083aba5a12f Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Tue, 23 Jul 2024 14:59:19 +0200 Subject: [PATCH] [workflow] Setting operator tag instead of github_ref Signed-off-by: dd di cesare --- .github/workflows/release-helm-chart.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-helm-chart.yaml b/.github/workflows/release-helm-chart.yaml index 1ec37e67..d4087423 100644 --- a/.github/workflows/release-helm-chart.yaml +++ b/.github/workflows/release-helm-chart.yaml @@ -33,6 +33,7 @@ jobs: run: | tag=${{ github.event.release.tag_name || inputs.operatorTag }} echo "OPERATOR_VERSION=${tag#v}" >> $GITHUB_ENV + echo "OPERATOR_TAG=${tag}" >> $GITHUB_ENV - name: Upload package to GitHub Release uses: svenstaro/upload-release-action@v2 @@ -41,7 +42,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: authorino-operator-${{ env.OPERATOR_VERSION }}.tgz asset_name: chart-authorino-operator-${{ env.OPERATOR_VERSION }}.tgz - tag: ${{ github.ref }} + tag: ${{ env.OPERATOR_TAG }} overwrite: true - name: Sync Helm Chart with repository