Skip to content

Commit

Permalink
use action_path
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisingal committed Oct 2, 2024
1 parent 119c33f commit 35115e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions validate-charts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ runs:
if: inputs.check-pod-template == 'true'
shell: bash
run: |
pwd
ls -lrt
CHART_NAME=$(awk '/^name:/ {print $2}' ${{ inputs.chart-path }}/Chart.yaml)
helm template $CHART_NAME ${{ inputs.chart-path }} ${{ inputs.extra-args }} -f values.yaml > /tmp/${CHART_NAME}.yaml
python check.py /tmp/${CHART_NAME}.yaml
helm template $CHART_NAME ${{ inputs.chart-path }} ${{ inputs.extra-args }} -f ${{ github.action_path }}/values.yaml > /tmp/${CHART_NAME}.yaml
python ${{ github.action_path }}/check.py /tmp/${CHART_NAME}.yaml

0 comments on commit 35115e4

Please sign in to comment.