From 09aec31ea7246b53b35e3b745a27733edae0dbb2 Mon Sep 17 00:00:00 2001 From: orenzhang <41963680+OrenZhang@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:27:34 +0800 Subject: [PATCH] chore(build_image): update image tag paths in credit.yaml --- .github/workflows/build_image.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 47626ae..2d03943 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -150,12 +150,12 @@ jobs: sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 sudo chmod +x /usr/local/bin/yq - # update image tags in values/credit.yaml - - name: Update image tags in values/credit.yaml + # update image tags in values/credit/credit.yaml + - name: Update image tags in values/credit/credit.yaml run: | cd helm-charts - yq -i '.image.tag = "${{ github.ref_name }}"' values/credit.yaml - yq -i '.image.webTag = "${{ github.ref_name }}"' values/credit.yaml + yq -i '.image.tag = "${{ github.ref_name }}"' values/credit/credit.yaml + yq -i '.image.webTag = "${{ github.ref_name }}"' values/credit/credit.yaml # commit and push to a new branch, then open a PR for review - name: Commit, push and create PR @@ -166,13 +166,13 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git checkout -b update/credit-${{ github.ref_name }} - git add values/credit.yaml + git add values/credit/credit.yaml git commit -m "chore: update credit image tag to ${{ github.ref_name }}" git push origin update/credit-${{ github.ref_name }} HELM_REPO=$(echo "${{ vars.HELM_CHARTS_REPO }}" | sed 's/git@github.com://;s/\.git$//') gh pr create \ --repo "${HELM_REPO}" \ --title "chore: update credit image tag to ${{ github.ref_name }}" \ - --body "Automated PR: update \`values/credit.yaml\` image tags to \`${{ github.ref_name }}\` after Docker image build." \ + --body "Automated PR: update \`values/credit/credit.yaml\` image tags to \`${{ github.ref_name }}\` after Docker image build." \ --base main \ --head update/credit-${{ github.ref_name }}