From 026766babf68712c0a7f6ddabb7a244c42394c56 Mon Sep 17 00:00:00 2001 From: "hanjoo96.cho" Date: Sat, 8 Jun 2024 16:55:13 +0900 Subject: [PATCH] =?UTF-8?q?#70=20image=EA=B0=80=20=EB=B0=B0=ED=8F=AC?= =?UTF-8?q?=EB=90=98=EB=A9=B4=20helm=20chart=EB=A1=9C=20pr=20=EB=82=A0?= =?UTF-8?q?=EB=A6=AC=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4eb77bc..451d28c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,16 +28,32 @@ jobs: uses: actions/checkout@v3 with: repository: ssu-commerce/helm-charts - path: chart/ssu-commerce + path: helm-charts fetch-depth: 0 - - name: Checkout tools repo - uses: sumup-bank/run-credo@v1 + - name: Update YAML file + run: | + yq eval '.book.image.tag = "2024.06.76"' -i helm-charts/chart/ssu-commerce/values.yaml + + - name: Commit changes + run: | + cd helm-charts + git config --local user.name "github-actions[bot]" + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git checkout -b update-image-tag-2024.06.76 + git add chart/ssu-commerce/values.yaml + git commit -m 'Update image tag to 2024.06.76' + git push origin update-image-tag-2024.06.76 + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 with: - repository: ssu-commerce/helm-charts - filepath: helm-charts/chart/ssu-commerce/values.yaml - yamlpath: .book.image.tag - newvalue: 2024.06.69 + token: ${{ secrets.TOKEN }} + commit-message: Update image tag to 2024.06.76 + branch: update-image-tag-2024.06.76 + base: main + title: Update image tag to 2024.06.76 + body: This PR updates the image tag to 2024.06.76. # - name: Push helm repo # run: | # git config --global user.email "johanjoo@naver.com"