Skip to content

Commit

Permalink
fix: chart releaser action to use custome CR
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub authored Sep 9, 2024
1 parent e4b5f79 commit f24d3ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/chart-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ env:
CHART_NAME_CE: "plane-ce"
CHART_NAME_ENTERPRISE: "plane-enterprise"
MARK_AS_LATEST: true
MARK_AS_PRERELASE: false
PAGES_INDEX_PATH: ""

jobs:
setup:
Expand Down Expand Up @@ -93,15 +95,19 @@ jobs:
fi
echo "MARK_AS_LATEST=false" >> $GITHUB_ENV
echo "MARK_AS_PRERELASE=true" >> $GITHUB_ENV
echo "PAGES_INDEX_PATH=${flatBranchName}" >> $GITHUB_ENV
- name: Release Charts
uses: helm/[email protected].0
uses: mguptahub/[email protected].2
with:
charts_dir: charts
config: cr.yaml
packages_with_index: false
skip_existing: true
mark_as_latest: ${{ env.MARK_AS_LATEST }}
prerelease: ${{ env.MARK_AS_PRERELASE }}
pages_index_path: ${{ env.PAGES_INDEX_PATH }}
env:
CR_TOKEN: ${{ env.CR_TOKEN }}
CR_KEY: ${{ env.GPG_KEY_NAME }}
Expand Down

0 comments on commit f24d3ba

Please sign in to comment.