Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35ba1f1a5a |
@@ -65,13 +65,14 @@ jobs:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
github-server-url: ${{ inputs.server-url }}
|
||||
|
||||
- name: Update Helm chart version
|
||||
if: ${{ inputs.update-helm == 'true' }}
|
||||
run: yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
|
||||
|
||||
- name: Update image tag
|
||||
if: ${{ inputs.update-image == 'true' }}
|
||||
run: yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
|
||||
- name: Update values
|
||||
run: |
|
||||
if [ "${{ inputs.update-helm }}" = "true" ]; then
|
||||
yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
|
||||
fi
|
||||
if [ "${{ inputs.update-image }}" = "true" ]; then
|
||||
yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
|
||||
fi
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user