-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from galasa-dev/iss1777-release-helm
Iss1777 - Update workflow to release/prerelease helm
- Loading branch information
Showing
1 changed file
with
16 additions
and
3 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 |
---|---|---|
|
@@ -8,7 +8,8 @@ name: Release Charts | |
on: | ||
push: | ||
branches: | ||
- released | ||
- prerelease | ||
- release | ||
|
||
jobs: | ||
release: | ||
|
@@ -24,7 +25,19 @@ jobs: | |
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
- name: Run chart-releaser - pre-release | ||
if: (github.ref == 'refs/heads/prerelease') | ||
uses: helm/chart-releaser-action@main | ||
with: | ||
skip_existing: true # Skip package upload if release/tag already exists | ||
skip_upload: true # Skips upload to index.yaml | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run chart-releaser - release | ||
if: (github.ref == 'refs/heads/release') | ||
uses: helm/chart-releaser-action@main | ||
with: | ||
skip_existing: true # Skip package upload if release/tag already exists | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |