60
60
id : update_helm_check
61
61
shell : bash
62
62
run : |
63
- if [ -f "kubernetes/helm/wf-service-migration/${{ github.event. inputs.environment }}-custom-values.yaml" ]; then
64
- echo "file_name=${{ github.event. inputs.environment }}-custom-values.yaml" >> "$GITHUB_OUTPUT"
65
- elif [ "${{ github.event. inputs.environment }}" == "dev" ]; then
63
+ if [ -f "kubernetes/helm/wf-service-migration/${{ inputs.environment }}-custom-values.yaml" ]; then
64
+ echo "file_name=${{ inputs.environment }}-custom-values.yaml" >> "$GITHUB_OUTPUT"
65
+ elif [ "${{ inputs.environment }}" == "dev" ]; then
66
66
echo "file_name=dev-custom-values.yaml" >> "$GITHUB_OUTPUT"
67
67
else
68
68
echo "skip_helm=true" >> "$GITHUB_OUTPUT"
@@ -75,14 +75,14 @@ jobs:
75
75
repository : ballerine-io/cloud-infra-config
76
76
branch : main
77
77
commitChange : true
78
- message : ' Update wf-service image Version to ${{ github.event. inputs.tag }} - (Commit hash: ${{ github.sha }}, commit message: ${{ github.event.head_commit.message }})'
78
+ message : ' Update wf-service image Version to ${{ inputs.tag }} - (Commit hash: ${{ github.sha }}, commit message: ${{ github.event.head_commit.message }})'
79
79
token : ${{ secrets.GIT_TOKEN }}
80
80
changes : |
81
81
{
82
82
"kubernetes/helm/wf-service-migration/${{steps.update_helm_check.outputs.file_name}}": {
83
- "image.tag": "${{ github.event. inputs.tag }}",
84
- "prismaMigrate.image.tag": "${{ github.event. inputs.tag }}",
85
- "dbMigrate.image.tag": "${{ github.event. inputs.tag }}",
86
- "dataSync.image.tag": "${{ github.event. inputs.tag }}"
83
+ "image.tag": "${{ inputs.tag }}",
84
+ "prismaMigrate.image.tag": "${{ inputs.tag }}",
85
+ "dbMigrate.image.tag": "${{ inputs.tag }}",
86
+ "dataSync.image.tag": "${{ inputs.tag }}"
87
87
}
88
88
}
0 commit comments