From 81d12306e40128c82f1f200144816b9645fa1bad Mon Sep 17 00:00:00 2001 From: yeonjy <81320703+yeonjy@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:51:57 +0900 Subject: [PATCH] =?UTF-8?q?build:=20docker=20&=20gradle=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2358cf2b..a1b7924c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -39,12 +39,6 @@ jobs: java-version: '17' distribution: "temurin" - # gradle을 통해 소스 빌드 - - name: Build with Gradle - run: | - chmod +x ./gradlew - ./gradlew clean build -x test - # docker-compose.yml Secret Setup - name: Set Docker-compose.yml uses: microsoft/variable-substitution@v1 @@ -54,6 +48,12 @@ jobs: services.rabbitmq.environment.RABBITMQ_DEFAULT_USER: ${{ secrets.RABBITMQ_DEFAULT_USER }} services.rabbitmq.environment.RABBITMQ_DEFAULT_PASS: ${{ secrets.RABBITMQ_DEFAULT_PASS }} + # gradle을 통해 소스 빌드 + - name: Build with Gradle + run: | + chmod +x ./gradlew + ./gradlew clean build -x test + # dockerfile을 통해 이미지를 빌드하고, 이를 docker repo로 push # 이 때 사용되는 ${{ secrets.DOCKER_REPO }}/backend-dev 가 위에서 만든 도커 repository. - name: Docker build & push to docker repo