mirror of
https://github.com/requarks/wiki.git
synced 2026-08-26 13:17:10 -05:00
ci(helm): fix chart versioning
Updated Helm chart versioning to use dynamic version from Chart.yaml.
This commit is contained in:
@@ -16,11 +16,12 @@ jobs:
|
|||||||
|
|
||||||
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@v6
|
||||||
|
|
||||||
- name: Package and Push Chart
|
- name: Package and Push Chart
|
||||||
run: |
|
run: |
|
||||||
|
export CHARTVER=$(yq '.version' dev/helm/Chart.yaml)
|
||||||
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 --version="2.2.${{github.run_number}}" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum
|
helm cm-push --version="$CHARTVER" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum
|
||||||
helm repo remove chartmuseum
|
helm repo remove chartmuseum
|
||||||
|
|||||||
Reference in New Issue
Block a user