Skip to content

Commit 97f732f

Browse files
committed
modify values.yaml step
1 parent 85e0b4a commit 97f732f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cicd.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ jobs:
3434
needs: docker-build
3535
steps:
3636
- uses: actions/checkout@v4
37+
- name: Modify helm values file
38+
shell: bash
39+
env:
40+
SHORT_SHA: ${{ needs.docker-build.outputs.short_sha }}
41+
run: |
42+
echo ${{ env.SHORT_SHA }}
43+
pip install yq
44+
yq -Yi 'image.tag = "${{ env.SHORT_SHA }}"' charts/python-app/values.yaml
3745
- name: Install argocd CLI
3846
shell: bash
3947
run: |

0 commit comments

Comments
 (0)