Browse Source
misc: add build version to helm chart push action
pull/4663/head
Nicolas Giard
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
.github/workflows/helm.yml
|
|
@ -1,4 +1,4 @@ |
|
|
|
name: Helm CI |
|
|
|
name: Helm Chart CI |
|
|
|
|
|
|
|
on: |
|
|
|
# Triggers the workflow on push or pull request events but only for the dev branch |
|
|
@ -11,7 +11,7 @@ on: |
|
|
|
|
|
|
|
jobs: |
|
|
|
build: |
|
|
|
name: Publish Chart |
|
|
|
name: Update Chart |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
@ -22,7 +22,7 @@ jobs: |
|
|
|
run: | |
|
|
|
helm plugin install https://github.com/chartmuseum/helm-push.git |
|
|
|
helm repo add chartmuseum https://charts.js.wiki |
|
|
|
helm cm-push --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum |
|
|
|
helm cm-push --version="2.2.${{github.run_number}}" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum |
|
|
|
helm repo remove chartmuseum |
|
|
|
|
|
|
|
# - name: Generate and Push Chart Archive |
|
|
|