-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: CORS origin 추가 (`admin`, `member`, `landing`) * chore: arm64 architecture 지원하는 base로 변경 * chore: production properties 파일 추가 * chore: docker compose setting * chore: `build.gradle` 가독성 향상 및 최적화, `excludeSecrets`로 `application.yaml` 배제 빌드 옵션 제공 * chore: ignore `application.yaml` * fix: spring container에 wget이 설치되어 있지 않아 curl로 health check 진행 * chore: OCI instance가 arm64기반이어 docker build target을 multiplatform으로 변경 * fix: 테스트 workflow 삭제 및 `application-prod.yaml` 버전관리 시작으로 인한 CI 망가짐 수정 * refactor: `allowedOrigins`를 Application 상수로 관리 * refactor: `allowedOrigins`를 불변 배열로 변경
- Loading branch information
1 parent
72e59d6
commit 0090976
Showing
12 changed files
with
387 additions
and
119 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# 프로젝트 클린 및 빌드 | ||
./gradlew clean bootJar | ||
./gradlew clean bootJar -PexcludeSecrets=true | ||
|
||
# Docker 이미지 빌드 | ||
docker build -t ekgns33/gdsc-spring:latest . | ||
|
||
# Docker 이미지 푸시 | ||
docker push ekgns33/gdsc-spring:latest | ||
# Docker 이미지 빌드 & 푸시 | ||
docker buildx build --platform linux/amd64,linux/arm64 -t ekgns33/gdsc-spring:latest . --push | ||
|
||
# 완료 메시지 | ||
echo "Docker image pushed to ekgns33/gdsc-spring:latest successfully." |
Oops, something went wrong.