Skip to content

Commit a563d5c

Browse files
authored
merge(#3631): fixed chart path in helm release workflow
2 parents df03eea + b274ffe commit a563d5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/helm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ jobs:
8787
name: Package Helm chart
8888
id: package-chart
8989
run: |
90-
HELM_PACKAGE_OUTPUT=$(helm package "${{ github.workspace }}/${{ steps.set-chart-name.outputs.chart_name }}") || exit 1
90+
HELM_PACKAGE_OUTPUT=$(helm package "${{ github.workspace }}/charts/${{ steps.set-chart-name.outputs.chart_name }}") || exit 1
9191
HELM_PACKAGE_PATH="${HELM_PACKAGE_OUTPUT##"Successfully packaged chart and saved it to: "}"
9292
echo "HELM_PACKAGE_PATH=${HELM_PACKAGE_PATH}"
9393
echo ::set-output name=helm_package_path::${HELM_PACKAGE_PATH}
9494
9595
- if: ${{ steps.set-helm-push-enabled.outputs.helm_push_enabled == 1 }}
9696
name: Check Helm chart version in repository
9797
run: |
98-
CHART_PATH="${{ github.workspace }}/${{ steps.set-chart-name.outputs.chart_name }}"
98+
CHART_PATH="${{ github.workspace }}/charts/${{ steps.set-chart-name.outputs.chart_name }}"
9999
EXPECTED_CHART_VERSION="$(echo "${{ steps.set-git-refname.outputs.git_refname }}" | awk -F '/' '{print $NF}')" || exit 1
100100
ACTUAL_CHART_VERSION="$(awk '/version: [0-9]+\.[0-9]+\.[0-9]+/ {print $2}' "${CHART_PATH}/Chart.yaml")" || exit 1
101101
if [ "${EXPECTED_CHART_VERSION}" != "${ACTUAL_CHART_VERSION}" ]; then

0 commit comments

Comments
 (0)