Skip to content

Commit

Permalink
Merge pull request #74 from YAPP-Github/feature/MAFOO-175
Browse files Browse the repository at this point in the history
[MAFOO-175] fix: 리캡 배포 오류 수정
  • Loading branch information
gmkim20713 authored Nov 4, 2024
2 parents 406cd75 + 8d17980 commit a392373
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/jib-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
IMAGE_NAME: ${{ inputs.image-name }}
IMAGE_TAG: ${{ inputs.image-tag }}
SERVER_PORT: ${{ inputs.server-port }}
RECAP_SRC_URL: ${{ secrets.RECAP_SRC_URL }}
run: |
cd ${{ inputs.module-path }} && \
chmod +x gradlew && ./gradlew jib
11 changes: 0 additions & 11 deletions photo-service/Dockerfile

This file was deleted.

6 changes: 1 addition & 5 deletions photo-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,14 @@ jib {
val imageName: String? = System.getenv("IMAGE_NAME")
val imageTag: String? = System.getenv("IMAGE_TAG")
val serverPort: String = System.getenv("SERVER_PORT") ?: "8080"
val recapSrcUrl: String? = System.getenv("RECAP_SRC_URL")
from {
image = "custom-base-image"
image = "spinachpasta/photo-service-base:latest"
}
to {
image = imageName
tags = setOf(imageTag, "latest")
}
container {
environment = mapOf(
"RECAP_SRC_URL" to recapSrcUrl
)
jvmFlags =
listOf(
"-Dspring.profiles.active=$activeProfile",
Expand Down

0 comments on commit a392373

Please sign in to comment.