From 46c298d33da96ce390369587b4211be5a9e1bd5b Mon Sep 17 00:00:00 2001 From: Oleksandr Bystrov <63246999+abystrov@users.noreply.github.com> Date: Tue, 28 May 2024 13:22:31 +0200 Subject: [PATCH] Fix helm push command --- .github/workflows/docker-helm.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-helm.yml b/.github/workflows/docker-helm.yml index 69b4d6ad..8ed6d877 100644 --- a/.github/workflows/docker-helm.yml +++ b/.github/workflows/docker-helm.yml @@ -191,11 +191,8 @@ jobs: CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }} run: | helm plugin install https://github.com/chartmuseum/helm-push.git - cd charts/mlops - helm dependency update - cd ../.. - helm package charts/mlops -d . - helm cm-push mlops-${{ steps.tag_bump.outputs.new_tag }}.tgz https://charts.slim.cnvrg.io/ -u=${CHARTMUSEUM_USER} -p=${CHARTMUSEUM_PASSWORD} --force + helm repo add cnvrg https://charts.slim.cnvrg.io/cnvrg + helm cm-push mlops-${{ steps.tag_bump.outputs.new_tag }}.tgz -f cnvrg https://charts.slim.cnvrg.io/ -u=${CHARTMUSEUM_USER} -p=${CHARTMUSEUM_PASSWORD} --context-path /cnvrg - name: Slack Notification uses: rtCamp/action-slack-notify@v2