Skip to content

Commit

Permalink
ci(GHA,Helm): fixed helm push last attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
pregnor committed Mar 9, 2023
1 parent abf8673 commit 0d7a26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
id: set-helm-push-enabled
run: |
HELM_PUSH_ENABLED=""
if [ "${{ github.event_name }}" == "push" ] && echo "${{ steps.set-git-refname.outputs.git_refname }}" | grep -E -q "^(deploy/charts)?[^/]+/v[0-9]+\.[0-9]+\.[0-9]+"; then
if [ "${{ github.event_name }}" == "push" ] && echo "${{ steps.set-git-refname.outputs.git_refname }}" | grep -E -q "deploy/charts/v[0-9]+\.[0-9]+\.[0-9]+"; then
HELM_PUSH_ENABLED=1
else
printf >&2 "Unstable chart (%s) from %s event, chart will not be pushed" "${{ steps.set-git-refname.outputs.git_refname }}" "${{ github.event_name }}"
Expand Down

0 comments on commit 0d7a26e

Please sign in to comment.