fix: the helm dep update step is missing (#1077)

Signed-off-by: rick <LinuxSuRen@users.noreply.github.com>
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
Rick
2024-03-27 17:01:37 +08:00
committed by GitHub
parent 1829b22c01
commit d127060bc8
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ on:
tags: tags:
- 'v*.*.*' - 'v*.*.*'
branches: branches:
- master - main
jobs: jobs:
helm: helm:
@@ -30,5 +30,6 @@ jobs:
unset APP_VERSION unset APP_VERSION
unset HELM_VERSION unset HELM_VERSION
fi fi
helm dependency update files/helm/fastgpt
helm package files/helm/fastgpt --version ${HELM_VERSION}-helm --app-version ${APP_VERSION} -d bin helm package files/helm/fastgpt --version ${HELM_VERSION}-helm --app-version ${APP_VERSION} -d bin
helm push bin/fastgpt-${HELM_VERSION}-helm.tgz oci://${HELM_REPO} helm push bin/fastgpt-${HELM_VERSION}-helm.tgz oci://${HELM_REPO}

View File

@@ -62,5 +62,6 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Helm Check - name: Helm Check
run: | run: |
helm dependency update files/helm/fastgpt
helm lint files/helm/fastgpt helm lint files/helm/fastgpt
helm package files/helm/fastgpt helm package files/helm/fastgpt