File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ inputs:
88
88
89
89
runs :
90
90
using : ' docker'
91
- image : ' docker://bitovi/deploy-eks-helm:v1.2.0 '
91
+ image : ' docker://bitovi/deploy-eks-helm:v1.2.2 '
92
92
env :
93
93
AWS_REGION : ${{ inputs.aws-region }}
94
94
AWS_SECRET_ACCESS_KEY : ${{ inputs.aws-secret-access-key }}
Original file line number Diff line number Diff line change 84
84
if [ -n " ${HELM_REPOSITORY} " ] && [ " ${OCI_REGISTRY} " != " true" ]; then
85
85
HELM_CHART_NAME=" ${DEPLOY_CHART_PATH%/* } "
86
86
87
- CHART_REPO_EXISTS=$( helm repo list | _grep ^${HELM_CHART_NAME} )
87
+ # Need this to avoid exit if no repo exists
88
+ HELM_REPOS=$( helm repo list || true)
89
+ CHART_REPO_EXISTS=$( echo $HELM_REPOS | _grep ^${HELM_CHART_NAME} )
90
+
88
91
if [ -z " ${CHART_REPO_EXISTS} " ]; then
89
92
echo " Adding repo ${HELM_CHART_NAME} (${HELM_REPOSITORY} )"
90
93
helm repo add ${HELM_CHART_NAME} ${HELM_REPOSITORY} ${HELM_AUTH}
You can’t perform that action at this time.
0 commit comments