File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/main/java/com/back/global/config Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8888 working-directory : /
8989 comment : Deploy
9090 command : |
91+ # 1. 최신 이미지 pull
9192 docker pull ghcr.io/${{ env.OWNER_LC }}/catfe-backend:latest
93+
94+ # 2. 기존 컨테이너 종료 및 제거
9295 docker stop catfe-backend 2>/dev/null
9396 docker rm catfe-backend 2>/dev/null
94- docker run -d --name catfe-backend -p 8080:8080 ghcr.io/${{ env.OWNER_LC }}/catfe-backend:latest
97+
98+ # 3. 새로운 컨테이너 실행
99+ docker run -d --name catfe-backend -p 8080:8080 ghcr.io/${{ env.OWNER_LC }}/catfe-backend:latest
100+
101+ # 4. dangling 이미지 삭제
102+ docker rmi $(docker images -f "dangling=true" -q)
Original file line number Diff line number Diff line change 77import org .springframework .context .annotation .Configuration ;
88
99@ Configuration
10- @ OpenAPIDefinition (info = @ Info (title = "Catfe API 서버 " , version = "beta" , description = "Catfe API 문서입니다." ))
10+ @ OpenAPIDefinition (info = @ Info (title = "Catfe API Server " , version = "beta" , description = "Catfe API 문서입니다." ))
1111public class SpringDocConfig {
1212
1313 // API 버전별 그룹화
You can’t perform that action at this time.
0 commit comments