Skip to content

fix: Dockerfile Gradle 버전 문제 수정 + 배포 파이프라인 추가 - #66

Merged
BcKmini merged 2 commits into
mainfrom
infra/deploy-pipeline
Jul 30, 2026
Merged

fix: Dockerfile Gradle 버전 문제 수정 + 배포 파이프라인 추가#66
BcKmini merged 2 commits into
mainfrom
infra/deploy-pipeline

Conversation

@BcKmini

@BcKmini BcKmini commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • 기존 Dockerfile(chore: 임시 배포용 Dockerfile 추가 #31)이 gradle:8.10-jdk17을 썼는데, Spring Boot 4.1.0 플러그인이 Gradle 8.14+를 요구해서 실제로 빌드가 실패하는 상태였습니다. 프로젝트의 ./gradlew(9.5.1)를 쓰도록 수정 후 로컬에서 빌드 성공까지 확인했습니다.
  • main push 시 GHCR 빌드/푸시 + AWS EC2 k3s 클러스터에 자동 반영하는 deploy.yml 추가

참고

  • KUBE_CONFIG 시크릿은 저장소에 이미 등록해뒀습니다
  • 클러스터 최초 배포(namespace/secret 생성 등)는 infra 저장소에서 별도로 진행합니다

…배포 워크플로우 추가

- gradle:8.10-jdk17 고정 이미지 대신 프로젝트의 ./gradlew(9.5.1) 사용하도록 변경
  (Spring Boot 4.1.0 플러그인이 Gradle 8.14+ 요구, 8.10에서는 빌드 자체가 실패했음)
- main push 시 GHCR 빌드/푸시 + AWS EC2 k3s 클러스터에 자동 반영하는 deploy.yml 추가

@krestar krestar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다 👍

@chaeliki

Copy link
Copy Markdown
Contributor

확인했습니당

@BcKmini
BcKmini merged commit 8b94cc5 into main Jul 30, 2026
1 check passed
@BcKmini
BcKmini deleted the infra/deploy-pipeline branch July 30, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants