From e795cb51bbc4473d4dd19587a8cfc171bf40b1a1 Mon Sep 17 00:00:00 2001 From: dmori Date: Sun, 1 Mar 2026 10:54:29 +0900 Subject: [PATCH 1/5] =?UTF-8?q?chore:=20Github=20Actions=20=EC=9D=98?= =?UTF-8?q?=EC=A1=B4=EC=84=B1=20=EC=B5=9C=EC=8B=A0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 8 ++++---- .github/workflows/ci.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 36bdafa9..1bb9a459 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,10 +10,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: java-version: '17' distribution: "adopt" @@ -40,7 +40,7 @@ jobs: docker push ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} - name: Copy files to server - uses: appleboy/scp-action@master + uses: appleboy/scp-action@v1 with: host: ${{ secrets.HOST }} username: ubuntu @@ -49,7 +49,7 @@ jobs: target: /home/ubuntu/cockple - name: Deploy - uses: appleboy/ssh-action@master + uses: appleboy/ssh-action@v1 with: host: ${{ secrets.HOST }} username: ubuntu diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d44abd1..11838eb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,10 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: '17' distribution: 'temurin' @@ -39,7 +39,7 @@ jobs: - name: Upload Test Report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: test-report path: build/reports/tests/test From 7d9f8213f15a8ab4e769d087118dc8ae24bc9199 Mon Sep 17 00:00:00 2001 From: dmori Date: Sun, 1 Mar 2026 10:55:05 +0900 Subject: [PATCH 2/5] =?UTF-8?q?chore:=20CI=EC=99=80=20CD=EC=9D=98=20JDK?= =?UTF-8?q?=EB=A5=BC=20temurin=EC=9C=BC=EB=A1=9C=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1bb9a459..75b665d3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v5 with: java-version: '17' - distribution: "adopt" + distribution: 'temurin' cache: gradle - name: Set environment variables by branch From 39e2d168bab6b71a19fe3ec2cfcedf4f4188ae79 Mon Sep 17 00:00:00 2001 From: dmori Date: Sun, 1 Mar 2026 11:02:30 +0900 Subject: [PATCH 3/5] =?UTF-8?q?chore:=20CD=20=ED=8C=8C=EC=9D=B4=ED=94=84?= =?UTF-8?q?=EB=9D=BC=EC=9D=B8=EC=9D=84=202=EB=8B=A8=EA=B3=84=20(BUILD/DEPL?= =?UTF-8?q?OY)=EB=A1=9C=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 75b665d3..a8dcf226 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -39,6 +39,13 @@ jobs: docker build -f Dockerfile -t ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} . docker push ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} + deploy: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout code + uses: actions/checkout@v6 + - name: Copy files to server uses: appleboy/scp-action@v1 with: From f1c344977d7924ff595235a1ac1a04f1bcccc978 Mon Sep 17 00:00:00 2001 From: dmori Date: Sun, 1 Mar 2026 11:08:02 +0900 Subject: [PATCH 4/5] =?UTF-8?q?chore:=20=EB=8F=84=EC=BB=A4=20=EB=AA=85?= =?UTF-8?q?=EB=A0=B9=EC=96=B4=20=EB=8C=80=EC=8B=A0=20=EB=8F=84=EC=BB=A4?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=A7=80=EC=9B=90=ED=95=98=EB=8A=94=20Git?= =?UTF-8?q?hub=20Actions(login-action,=20build-push-action)=EC=9D=84=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a8dcf226..8b59a229 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -33,11 +33,18 @@ jobs: chmod +x ./gradlew ./gradlew clean build -x test + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Docker BUILD_PUSH - run: | - docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} - docker build -f Dockerfile -t ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} . - docker push ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: ${{ secrets.DOCKER_REPO }}:${{ steps.vars.outputs.DOCKER_TAG }} deploy: runs-on: ubuntu-latest From 3e4fb74f9ac802db0ec7cf13510a44a5cf0a223b Mon Sep 17 00:00:00 2001 From: dmori Date: Sun, 1 Mar 2026 11:11:03 +0900 Subject: [PATCH 5/5] =?UTF-8?q?chore:=20ci.yml=EC=97=90=EC=84=9C=20build?= =?UTF-8?q?=20=EA=B0=9C=EC=84=A0=20Github=20Actions=EC=9D=98=20=EA=B0=80?= =?UTF-8?q?=EC=83=81=EB=A8=B8=EC=8B=A0=EC=9D=B4=20=EB=A7=A4=EB=B2=88=20?= =?UTF-8?q?=EB=9C=A8=EB=AF=80=EB=A1=9C=20clean=20=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20=EB=84=88=EB=AC=B4=20=EB=A7=8E=EC=9D=80=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EA=B0=80=20=EB=9C=A8=EB=8A=94=20--info=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20--scan=EC=9D=80=20=ED=98=84=EC=9E=AC=20?= =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=98=EB=8B=A4=EA=B3=A0=20?= =?UTF-8?q?=ED=8C=90=EB=8B=A8=EB=90=98=EC=96=B4=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11838eb9..8f0cb4c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,8 +34,8 @@ jobs: - name: Grant execute permission for Gradle run: chmod +x gradlew - - name: Build (Debug Mode) - run: ./gradlew clean build --stacktrace --info --scan + - name: Build + run: ./gradlew build --stacktrace - name: Upload Test Report if: always()