Skip to content

Commit

Permalink
fix: 레포 분리 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed Aug 29, 2024
1 parent 080fbd9 commit b0139b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: k8s CD

on:
# push:
# branches: ["main"]
push:
branches: ["main"]
workflow_dispatch:

env:
Expand Down Expand Up @@ -58,20 +58,20 @@ jobs:
- name: Config Repo 불러오기
uses: actions/checkout@v4
with:
repository: SystemConsultantGroup/PDF-Converter-Module
repository: SystemConsultantGroup/PDF-config
ref: main
token: ${{ secrets.ACTION_TOKEN }}
path: PDF-Converter-Module
path: PDF-config
- name: Kustomize 준비
uses: imranismail/setup-kustomize@v2.0.0
- name: Config Repo 이미지 값 업데이트 (Kustomize)
run: |
cd PDF-Converter-Module/infra/overlay/dev/
cd PDF-config/overlay/dev/
kustomize edit set image ${{ env.dockerimage_name }}:${{ env.dockerimage_tag }}
cat kustomization.yaml
- name: Config Repo 변경사항 푸시
run: |
cd PDF-Converter-Module
cd PDF-Config
git config --global user.email "jcy030896@naver.com"
git config --global user.name "chanyeong"
git commit -am "Update image tag"
Expand Down

0 comments on commit b0139b4

Please sign in to comment.