misc: use helm push chartmuseum plugin (#4629)
This commit is contained in:
parent
df15ca1fcf
commit
f60a5c819b
23
.github/workflows/helm.yml
vendored
23
.github/workflows/helm.yml
vendored
@ -11,21 +11,24 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Publish Chart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Generate Chart Archive
|
- name: Package and Push Chart
|
||||||
run: |
|
run: |
|
||||||
ls -l $GITHUB_WORKSPACE
|
helm plugin install https://github.com/chartmuseum/helm-push.git
|
||||||
mkdir -p $GITHUB_WORKSPACE/charts
|
helm repo add chartmuseum https://charts.js.wiki
|
||||||
helm package . -d $GITHUB_WORKSPACE/charts
|
helm cm-push dev/helm/ chartmuseum
|
||||||
working-directory: ./dev/helm
|
|
||||||
|
# - 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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user