Skip to content

#70 image가 배포되면 helm chart로 pr 날리도록 변경 #82

#70 image가 배포되면 helm chart로 pr 날리도록 변경

#70 image가 배포되면 helm chart로 pr 날리도록 변경 #82

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
cd:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout tools repo
uses: actions/checkout@v3
with:
repository: ssu-commerce/helm-charts
path: chart/ssu-commerce
fetch-depth: 0
- name: Checkout tools repo
uses: sumup-bank/run-credo@v1
with:
repository: ssu-commerce/helm-charts
filepath: helm-charts/chart/ssu-commerce/values.yaml
yamlpath: .book.image.tag
newvalue: 2024.06.69
# - name: Push helm repo
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "chohanjoo"
#
# git add values.yaml;
# git commit --message "Update book-server image tag to ${{ steps.current-time.outputs.formattedTime }}.${{github.run_number}}";
# git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | xargs -L1 git config --unset-all
# git push