Skip to content

Commit

Permalink
[workflow] Setting operator tag instead of github_ref
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <didi@posteo.net>
  • Loading branch information
didierofrivia committed Jul 23, 2024
1 parent c4bdcb5 commit c09df50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c09df50

Please sign in to comment.