Skip to content

Commit

Permalink
feat: 도커야 해줘! 해달라고ga .
Browse files Browse the repository at this point in the history
  • Loading branch information
h-beeen committed Feb 15, 2024
1 parent cc232af commit bf3f047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ jobs:
docker pull ${{ secrets.DEV_DOCKER_HUB_URL }}
docker ps -f name=be-server -q | xargs --no-run-if-empty docker container stop
docker ps -a -f name=be-server -q | xargs --no-run-if-empty docker container rm
docker run -d --name be-server -p 80:8080 ${{ secrets.DEV_DOCKER_HUB_URL }}
docker run -d --name be-server -p 80:8080 \
-e GOOGLE_APPLICATION_CREDENTIALS=/key.json \
${{ secrets.DEV_DOCKER_HUB_URL }}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ tasks.named('bootBuildImage') {
environment["BPE_DELIM_JAVA_TOOL_OPTIONS"] = " "
environment["BPE_APPEND_JAVA_TOOL_OPTIONS"] = "-XX:+ExitOnOutOfMemoryError -XX:MaxDirectMemorySize=10M " +
"-XX:MaxMetaspaceSize=150M -XX:ReservedCodeCacheSize=60M -Xss256K"
environment["GOOGLE_APPLICATION_CREDENTIALS"] = "${homeDir}/A11-Config/key.json"
environment["GOOGLE_APPLICATION_CREDENTIALS"] = "/key.json"

def dockerhubId = project.property("DOCKERHUB_ID")
def dockerhubToken = project.property("DOCKERHUB_TOKEN")
Expand Down

0 comments on commit bf3f047

Please sign in to comment.