ci: fix backend deployment yq syntax

This commit is contained in:
2024-03-16 13:44:35 +01:00
parent 13dded8f20
commit e16ceb3760
+1 -1
View File
@@ -34,5 +34,5 @@ jobs:
- run: echo "deployment image will be set to ${{ env.IMAGE }}"
- uses: mikefarah/yq@v4
with:
cmd: yq -i '.spec.template.spec.containers[0].image=${{ env.IMAGE }}' ./kemkas/kemkas-be-deployment.yaml
cmd: yq -i '.spec.template.spec.containers[0].image = "${{ env.IMAGE }}"' ./kemkas/kemkas-be-deployment.yaml
- run: git commit -a -m "prod deploy ${{ env.IMAGE }}" && git push