diff --git a/.github/workflows/backend-pull-request.yml b/.github/workflows/backend-pull-request.yml index 0ba5d8669..bacb5ff95 100644 --- a/.github/workflows/backend-pull-request.yml +++ b/.github/workflows/backend-pull-request.yml @@ -18,7 +18,9 @@ jobs: contents: read steps: - - uses: actions/checkout@v4 + - name: CheckOut + uses: actions/checkout@v4 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/backend-push.yml b/.github/workflows/backend-push.yml index 037a82272..94d2801c2 100644 --- a/.github/workflows/backend-push.yml +++ b/.github/workflows/backend-push.yml @@ -19,12 +19,15 @@ jobs: contents: read steps: - - uses: actions/checkout@v4 + - name: CheckOut + uses: actions/checkout@v4 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' + cache: gradle - name: Setup Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 @@ -43,8 +46,8 @@ jobs: - name: Build and push run: | - docker buildx build ./ --platform=linux/arm64 -t ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev:latest . - docker push ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev:latest + docker buildx build --platform linux/arm64 -t \ + ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev --push . deploy: needs: build diff --git a/server/src/main/java/server/haengdong/domain/CiCd.java b/server/src/main/java/server/haengdong/domain/CiCd.java index 1807248b6..3e8ae718b 100644 --- a/server/src/main/java/server/haengdong/domain/CiCd.java +++ b/server/src/main/java/server/haengdong/domain/CiCd.java @@ -2,5 +2,4 @@ public class CiCd { - }