我在 github 操作中针对 helm/kubernetes 的 CI 部署开始失败,并出现以下错误:
Error: unknown command "chart" for "helm" on github actions
在我的CI.yaml文件中,我有以下 helm 命令:
echo *****************
echo SAVING HELM CHART
echo *****************
# log in to aws and push the helm chart
aws ecr get-login-password --region us-west-2 | helm registry login --username AWS --password-stdin XXXX.amazonaws.com
helm chart save ./server-helm-chart/ XXXXX.amazonaws.com/test/helm:$helmChartVersion
echo *****************
echo PUSHING HELM CHART
echo *****************
helm chart push XXXX.amazonaws.com/test/helm:$helmChartVersion
Run Code Online (Sandbox Code Playgroud)