-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#70 image가 배포되면 helm chart로 pr 날리도록 변경
- Loading branch information
hanjoo96.cho
committed
Jun 8, 2024
1 parent
385d5e6
commit 026766b
Showing
1 changed file
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
|