From 376d275c63745bb95b5c25be9e39c705f35cb80c Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 28 May 2024 09:56:37 +0900 Subject: [PATCH] fixed update tag for orakl-core --- .github/workflows/update.image-tag.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update.image-tag.yaml b/.github/workflows/update.image-tag.yaml index c342f51dd..2ca5b72f3 100644 --- a/.github/workflows/update.image-tag.yaml +++ b/.github/workflows/update.image-tag.yaml @@ -53,6 +53,13 @@ jobs: run: | cd ./gitops_tmp/${{ inputs.project-name }}/ echo "Updating image tag in values.${{ inputs.network }}.yaml files" + + if [[ "${{ inputs.project-name }}" == "vrf" || "${{ inputs.project-name }}" == "request-response" || "${{ inputs.project-name }}" == "aggregator" ]]; then + sed -i 's/listenerTag: .*$/listenerTag: "${{ inputs.image-tag }}"/g' values.${{ inputs.network }}.yaml + sed -i 's/reporterTag: .*$/reporterTag: "${{ inputs.image-tag }}"/g' values.${{ inputs.network }}.yaml + sed -i 's/workerTag: .*$/workerTag: "${{ inputs.image-tag }}"/g' values.${{ inputs.network }}.yaml + fi + sed -i 's/tag: .*$/tag: "${{ inputs.image-tag }}"/g' values.${{ inputs.network }}.yaml shell: bash