From 85c85a2a37cbac0604881426ae0f3a7b6e67cade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A7=84?= <111180367+2Jin1031@users.noreply.github.com> Date: Sun, 14 Dec 2025 18:04:23 +0900 Subject: [PATCH 1/2] Change build command to bootJar in CI workflow Updated the build step to use bootJar instead of clean build. --- .github/workflows/dev-cd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dev-cd.yml b/.github/workflows/dev-cd.yml index 0bf878d..89c72ed 100644 --- a/.github/workflows/dev-cd.yml +++ b/.github/workflows/dev-cd.yml @@ -21,11 +21,9 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - cache-read-only: false - name: Build project - run: ./gradlew clean build + run: ./gradlew bootJar push: needs: build From 81e7ee584dabe7ae76711190cdb9654b7c15886d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A7=84?= <111180367+2Jin1031@users.noreply.github.com> Date: Sun, 14 Dec 2025 18:08:23 +0900 Subject: [PATCH 2/2] Refactor GitHub Actions workflow for builds and pushes Updated CI/CD workflow to include build-and-push job and modified build steps. --- .github/workflows/dev-cd.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dev-cd.yml b/.github/workflows/dev-cd.yml index 89c72ed..3aed9b2 100644 --- a/.github/workflows/dev-cd.yml +++ b/.github/workflows/dev-cd.yml @@ -7,7 +7,7 @@ on: - "**" jobs: - build: + build-and-push: runs-on: ubuntu-24.04 steps: - name: Checkout source @@ -21,16 +21,11 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 + with: + cache-read-only: false - name: Build project - run: ./gradlew bootJar - - push: - needs: build - runs-on: ubuntu-24.04 - steps: - - name: Checkout source - uses: actions/checkout@v4 + run: ./gradlew clean bootJar - name: Login to Docker Hub uses: docker/login-action@v3 @@ -49,7 +44,7 @@ jobs: ${{ secrets.DOCKERHUB_USERNAME }}/crew-wiki:${{ github.sha }} deploy: - needs: push + needs: build-and-push runs-on: ubuntu-24.04 steps: - name: Deploy to Server