helm / community

Helm community content
https://helm.sh
421 stars 179 forks source link

Failed to load chart file #350

Open giet12aei033 opened 4 months ago

giet12aei033 commented 4 months ago

Hello,

I am getting below error while performing a helm push in my github actions workflow. Could any one please help me out?

- name: Copy Helm Chart to S3 Prod Helm Repo
  run: |
    helm repo add ${{ env.HELM_PROD_REPO }} ${{ env.HELM_PROD_REPO_URL }}/${{ env.HELM_PROD_REPO}}
    helm s3 push --force ${{ env.HELM_PACKAGE_NAME }}-${{ inputs.PREPROD_VERSION }}.tgz ${{ env.HELM_PROD_REPO }}

Error: failed to load chart file: cannot load a directory "test" has been added to your repositories Error: plugin "s3" exited with error

Tried below command but still getting error

helm s3 push --force ./${{ env.HELM_PACKAGE_NAME }}-${{ inputs.PREPROD_VERSION }}.tgz ${{ env.HELM_PROD_REPO }}