Skip to content

Commit

Permalink
Merge pull request #13 from galasa-dev/iss1777-release-helm
Browse files Browse the repository at this point in the history
Iss1777 - Update workflow to release/prerelease helm
  • Loading branch information
jadecarino authored Mar 6, 2024
2 parents 4712f45 + 6377baf commit 0a0dceb
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ name: Release Charts
on:
push:
branches:
- released
- prerelease
- release

jobs:
release:
Expand All @@ -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 }}"

0 comments on commit 0a0dceb

Please sign in to comment.