From 47215f24c7922b0c7d81d6930b59ec930bd0bed4 Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Fri, 5 Jan 2024 20:54:20 +0900 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=EB=8F=84=EC=BB=A4=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=9E=91=EC=84=B1=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ad044b4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM eclipse-temurin:17 +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java","-jar","/app.jar"] \ No newline at end of file From a05db93c702db3bc894077e7cd4157d0b9d21fac Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Fri, 5 Jan 2024 21:03:02 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C?= =?UTF-8?q?=EC=9A=B0=20=EC=88=98=EC=A0=95=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 517cd43..1be7fe4 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -50,4 +50,4 @@ jobs: key: ${{ secrets.EC2_SSH_KEY }} script: | sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/infra_practice_server:latest - sudo docker run -d -p 8080:8080 --name deploy_container \ No newline at end of file + sudo docker run -d -p 8080:8080 --name deploy_container ${{ secrets.DOCKERHUB_USERNAME }}/infra_practice_server:latest \ No newline at end of file From 7cca4813ae6ba0586377166733496a8549f65126 Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Fri, 5 Jan 2024 21:03:46 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C?= =?UTF-8?q?=EC=9A=B0=20=EC=88=98=EC=A0=95=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 1be7fe4..95e4b6f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -3,8 +3,6 @@ name: build and deploy on: push: branches: [ "master" ] - pull_request: - branches: [ "master" ] permissions: contents: read