misc: add build version to helm chart push action

pull/4663/head
Nicolas Giard 3 years ago committed by GitHub
parent a93fbc3ca2
commit 07087661ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save