Skip to content

Commit 06552ca

Browse files
committed
feat: 옵션 교체 2회차
1 parent 5748c4a commit 06552ca

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 빌드 후 배포하기
1+
name: 이미지 빌드 & 푸쉬
22
on:
33
workflow_call:
44
inputs:

.github/workflows/prod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: 환경변수 출력하기
3030
id: setup-env
31-
run: |
31+
run: |
3232
echo "java-module-name=$JAVA_MODULE_NAME" >> $GITHUB_OUTPUT
3333
echo "github-environment-name=$GITHUB_ENVIRONMENT_NAME" >> $GITHUB_OUTPUT
3434
echo "ecr-repository-name=$ECR_REPOSITORY_NAME" >> $GITHUB_OUTPUT
@@ -39,7 +39,7 @@ jobs:
3939
call-build-workflow:
4040
if: github.event_name == 'push'
4141
needs: [prepare-variables]
42-
name: 빌드 및 배포하기
42+
name: 이미지 빌드 & 푸쉬
4343
uses: ./.github/workflows/build.yaml
4444
permissions:
4545
id-token: write

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ echo "대상 모듈 이름: $moduleName"
88
echo "대상 이미지 이름: $imageName"
99
echo "대상 이미지 태그: $imageTag"
1010
echo "대상 프로파일: $profile"
11-
./gradlew :"$moduleName":jib -DimageName="$imageName" -DimageTag="$imageTag -Dspring.profiles.active=$profile"
11+
./gradlew :"$moduleName":jib -DimageName="$imageName" -DimageTag="$imageTag" -Dspring.profiles.active="$profile"

config/src/main/resources/application.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ spring:
22
cassandra:
33
keyspace-name: test
44
port: 9042
5-
local-datacenter: datacenter1
5+
local-datacenter: ap-northeast-1
6+
contact-points: scylla-db-client.scylla.svc.cluster.local
67
app:
78
app-tokens:
89
secret: thisisverysecretkeysoshouldreplaced

0 commit comments

Comments
 (0)