Open denispeyrusaubes opened 2 years ago
@denispeyrusaubes do you set required params? CHART_FOLDER especially?
Ay,
I got same problem : https://github.com/Goodsmileduck/helm-push-action/issues/25
Btw the problem is that my chart ins on a folder named XXX but the chart name is YYY :
+ helm package .
Successfully packaged chart and saved it to: /github/workspace/apps/myapp/infra/helm/myapp-0.1.0.tgz
+ helm cm-push 'apps/myapp/infra/helm-*' *** -u *** -p '***' -f
also check example for action in this repo https://github.com/Goodsmileduck/helm-push-action/blob/master/.github/workflows/helm3.yml#L37-L45
@Goodsmileduck I belive https://github.com/Goodsmileduck/helm-push-action/pull/29 solves this one too.
experiencing same issue
- name: Upload Charts
uses: goodsmileduck/helm-push-action@v2
env:
CHARTMUSEUM_URL: 'https://charts.company.com'
CHARTMUSEUM_USER: '${{ secrets.CHARTMUSEUM_USER }}'
CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }}
FORCE: 'True'
SOURCE_DIR: '.'
CHART_FOLDER: charts/ambassador-crd # this is coming here dynamically, hence I couldn't use SOURCE_DIR and CHART_FOLDER at the same time. Otherwise, I will have to adjust previous steps
Successfully packaged chart and saved it to: /github/workspace/charts/ambassador-crd/ambassador-crd-v2.0.2-pr-3.tgz
No requirements found in /github/workspace/charts/ambassador-crd/charts.
Error: stat charts/ambassador-crd-*: no such file or directory
Error: plugin "push" exited with error
@yalattas The correct setup for your case is:
SOURCE_DIR: './charts/'
CHART_FOLDER: 'ambassador-crd'
I'm using your plugin in order to publish my helm to chart to ChartMuseum
I'e got this problem.
It seems that generated chart is not found by the action. Something wrong ?
Thanks for your help