Skip to content

Commit

Permalink
chore: aws-cicd-dev.yml > build-args 부분 dev로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Jan 2, 2025
1 parent 33e54c8 commit 627f384
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/aws-cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}_layer-api:latest
build-args: |
SPRING_PROFILE=development
SPRING_PROFILE=dev
no-cache: true

- name: Push layer-batch Docker Image
Expand All @@ -126,7 +126,7 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}_layer-batch:latest
build-args: |
SPRING_PROFILE=development
SPRING_PROFILE=dev
no-cache: true

- name: Push layer-admin Docker Image
Expand All @@ -139,7 +139,7 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}_layer-admin:latest
build-args: |
SPRING_PROFILE=development
SPRING_PROFILE=dev
deploy:
name: Deploy
Expand Down
2 changes: 1 addition & 1 deletion layer-admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ COPY ${JAR_FILE} layer-admin.jar

ENV SPRING_PROFILE=${SPRING_PROFILE}

ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul" ,"-jar" ,"layer-admin.jar"]
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-Dspring.profiles.active=${SPRING_PROFILE}","-jar" ,"layer-admin.jar"]
2 changes: 1 addition & 1 deletion layer-batch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ COPY ${JAR_FILE} layer-batch.jar

ENV SPRING_PROFILE=${SPRING_PROFILE}

ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul" ,"-jar" ,"layer-batch.jar"]
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-Dspring.profiles.active=${SPRING_PROFILE}", "-jar" ,"layer-batch.jar"]

0 comments on commit 627f384

Please sign in to comment.