From b0139b47a5a4fa69e56f5ca176568fd589bb19cc Mon Sep 17 00:00:00 2001 From: chanyeong Date: Thu, 29 Aug 2024 15:29:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A0=88=ED=8F=AC=20=EB=B6=84=EB=A6=AC?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 76e926d..b7c55ff 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -1,8 +1,8 @@ name: k8s CD on: - # push: - # branches: ["main"] + push: + branches: ["main"] workflow_dispatch: env: @@ -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"