misc: add build version to helm chart push action

This commit is contained in:
Nicolas Giard
2021-10-24 03:12:12 -04:00
committed by GitHub
parent a93fbc3ca2
commit 07087661ec

View File

@@ -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