Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste DETROYES <[email protected]>
  • Loading branch information
jdetroyes committed Feb 25, 2025
1 parent cfdd156 commit 5f61790
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,22 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: .
- name: Clean
run: |
rm -rf .cr-release-packages
mkdir -p .cr-release-packages
rm -rf .cr-index
mkdir -p .cr-index
- name: Package chart
run: cr package .

- name: Upload chart
run: cr upload --owner otwld --git-repo ollama-helm --generate-release-note
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Upload chart index
run: cr index --owner otwld --git-repo ollama-helm --push
env:
CR_OWNER: otwld
CR_GIT_REPO: ollama-helm
CR_PACKAGE_PATH: .
CR_GENERATE_RELEASE_NOTES: true
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
- main
paths-ignore:
- .github/ISSUE_TEMPLATE/**
- .github/workflows/cd.yaml
pull_request:
types:
- opened
- synchronize
- reopened
paths-ignore:
- .github/ISSUE_TEMPLATE/**
- .github/workflows/cd.yaml
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 5f61790

Please sign in to comment.