Skip to content

Commit

Permalink
enable chart release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bryopsida committed Jul 1, 2023
1 parent c502223 commit 4e03852
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,30 +171,30 @@ jobs:
name: ${{ runner.name }} minikube logs
path: |
/tmp/failure-logs
# publish-chart:
# if: ${{ github.event_name != 'pull_request' }}
# needs:
# - verify
# timeout-minutes: 5
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Configure Git
# run: |
# git config user.name "$GITHUB_ACTOR"
# git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# - name: Install Helm
# uses: azure/setup-helm@v3
# with:
# version: v3.8.1
# - name: Run chart-releaser
# uses: helm/chart-releaser-action@v1.5.0
# env:
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# with:
# charts_dir: helm
publish-chart:
if: ${{ github.event_name != 'pull_request' }}
needs:
- verify
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.8.1
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: helm

0 comments on commit 4e03852

Please sign in to comment.