diff --git a/helm/build.sh b/helm/build.sh index db8a0e407..5857732ce 100644 --- a/helm/build.sh +++ b/helm/build.sh @@ -8,6 +8,7 @@ git config --global user.name "Workflow Build" if [[ "${GITHUB_BASE_REF}" == "" ]] && [[ "${GITHUB_REF}" == "refs/tags"* ]]; then echo "Building release helm chart" git clone --quiet --branch master https://github.com/FraunhoferIOSB/helm-charts.git + /tmp/helm dependency update ./helm/frost-server /tmp/helm lint ./helm/frost-server /tmp/helm package ./helm/frost-server -d ./helm-charts /tmp/helm repo index --url https://fraunhoferiosb.github.io/helm-charts/ ./helm-charts @@ -15,6 +16,7 @@ fi echo "Building snapshot helm chart" git clone --quiet --branch master https://github.com/FraunhoferIOSB/helm-charts-snapshot.git +/tmp/helm dependency update ./helm/frost-server /tmp/helm lint ./helm/frost-server /tmp/helm package ./helm/frost-server -d ./helm-charts-snapshot /tmp/helm repo index --url https://fraunhoferiosb.github.io/helm-charts-snapshot/ ./helm-charts-snapshot