This commit is contained in:
@@ -67,10 +67,10 @@ jobs:
|
||||
|
||||
- name: Update values
|
||||
run: |
|
||||
if [ "${{ inputs.update-helm }}" = "true" ]; then
|
||||
if [ "${{ inputs.update-helm }}" = "true" ] && [ -n "${{ inputs.helm-version }}" ] && [ -n "${{ inputs.helm-path }}" ]; then
|
||||
yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
|
||||
fi
|
||||
if [ "${{ inputs.update-image }}" = "true" ]; then
|
||||
if [ "${{ inputs.update-image }}" = "true" ] && [ -n "${{ inputs.image-version }}" ] && [ -n "${{ inputs.image-path }}" ]; then
|
||||
yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user