Update action.yml

This commit is contained in:
subochev 2025-05-20 05:30:50 +03:00
parent d33f5b5c66
commit d6161222b3

View File

@ -38,7 +38,10 @@ runs:
yq --help yq --help
echo '!!!!!' echo '!!!!!'
#cat '${{ inputs.chart_directory }}/Chart.yaml' #cat '${{ inputs.chart_directory }}/Chart.yaml'
yq r "${{ inputs.chart_directory }}/Chart.yaml" 'name' CHART_NAME=`yq r "${{ inputs.chart_directory }}/Chart.yaml" 'name'`
RESULT_FILE="${HELM_RESULT_FILE}/$CHART_NAME-${{ inputs.helm_version }}.tgz"
echo "Result File: ${RESULT_FILE}"
ls "${RESULT_FILE}"
echo '!!!!!!' echo '!!!!!!'
echo "File: @${HELM_FILE} to ${{ vars.HELM_REPOSITORY }}/api/charts?force" echo "File: @${HELM_FILE} to ${{ vars.HELM_REPOSITORY }}/api/charts?force"
curl "${{ vars.HELM_REPOSITORY }}/api/charts?force" -d "@${HELM_FILE}" -v curl "${{ vars.HELM_REPOSITORY }}/api/charts?force" -d "@${HELM_FILE}" -v