Skip to content

Commit

Permalink
publish charts
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Aug 8, 2024
1 parent cc41355 commit 2a45725
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 17 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish_charts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish charts

on:
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]

jobs:
release_chart:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

releasechart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# releasechart:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
# - name: Configure Git
# run: |
# git config user.name "$GITHUB_ACTOR"
# git config user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v4
# - name: Install Helm
# uses: azure/setup-helm@v4

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# - name: Run chart-releaser
# uses: helm/[email protected]
# env:
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 2a45725

Please sign in to comment.