Skip to content

Commit

Permalink
misc: use helm push chartmuseum plugin (#4629)
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Oct 24, 2021
1 parent df15ca1 commit f60a5c8
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,24 @@ on:

jobs:
build:
name: Publish Chart
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Generate Chart Archive
- name: Package and Push Chart
run: |
ls -l $GITHUB_WORKSPACE
mkdir -p $GITHUB_WORKSPACE/charts
helm package . -d $GITHUB_WORKSPACE/charts
working-directory: ./dev/helm
helm plugin install https://github.com/chartmuseum/helm-push.git
helm repo add chartmuseum https://charts.js.wiki
helm cm-push dev/helm/ chartmuseum
# - name: Generate and Push Chart Archive
# run: |
# mkdir -p $GITHUB_WORKSPACE/charts
# helm package . -d $GITHUB_WORKSPACE/charts
# cd $GITHUB_WORKSPACE/charts
# curl --data-binary "@wiki-2.2.0.tgz" -u $HELM_MUSEUM_USER:$HELM_MUSEUM_PASS https://charts.js.wiki/api/charts
# working-directory: ./dev/helm

- name: Generate Index
run: |
helm repo index .
ls -l
working-directory: $GITHUB_WORKSPACE/charts

0 comments on commit f60a5c8

Please sign in to comment.