-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kyriakos Akriotis <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
- name: Helm Chart Releaser | ||
# You may pin to the exact commit or the version. | ||
# uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 | ||
uses: helm/[email protected] | ||
with: | ||
# The chart-releaser version to use (default: v1.6.1) | ||
version: # optional, default is v1.6.1 | ||
# The relative path to the chart-releaser config file | ||
config: # optional | ||
# The charts directory | ||
charts_dir: deploy/cert-manager-webhook-opentelekomcloud | ||
# Where to install the cr tool | ||
install_dir: # optional | ||
# Just install cr tool | ||
install_only: # optional | ||
# Skip the packaging option (do your custom packaging before running this action) | ||
skip_packaging: # optional | ||
# Skip package upload if release exists | ||
skip_existing: # optional | ||
# Mark the created GitHub release as 'latest' | ||
mark_as_latest: # optional, default is true | ||
# Upload chart packages directly into publishing branch | ||
packages_with_index: # optional | ||
# Name of the branch to be used to push the index and artifacts. (default to: gh-pages but it is not set in the action it is a default value for the chart-releaser binary) | ||
pages_branch: # optional | ||
|
||
name: Release Charts | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |