misc: add build version to helm chart push action
This commit is contained in:
parent
a93fbc3ca2
commit
07087661ec
6
.github/workflows/helm.yml
vendored
6
.github/workflows/helm.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Helm CI
|
name: Helm Chart CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the dev branch
|
# Triggers the workflow on push or pull request events but only for the dev branch
|
||||||
@ -11,7 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Publish Chart
|
name: Update Chart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
helm plugin install https://github.com/chartmuseum/helm-push.git
|
helm plugin install https://github.com/chartmuseum/helm-push.git
|
||||||
helm repo add chartmuseum https://charts.js.wiki
|
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
|
helm repo remove chartmuseum
|
||||||
|
|
||||||
# - name: Generate and Push Chart Archive
|
# - name: Generate and Push Chart Archive
|
||||||
|
Loading…
Reference in New Issue
Block a user