From 2bf1cebfe123e85fc17a9bd8dd65d2778fa902a5 Mon Sep 17 00:00:00 2001 From: yunuo46 Date: Tue, 30 Apr 2024 15:28:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/back.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/back.yml b/.github/workflows/back.yml index 0456a5d..a52856e 100644 --- a/.github/workflows/back.yml +++ b/.github/workflows/back.yml @@ -17,7 +17,19 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker - uses: docker/setup-buildx-action@v3 + uses: decker/setup-buildx-action@v3 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + + - name: Set up Gradle + uses: gradle/gradle-build-action@v3 + + - name: Build with Gradle + run: ./gradlew build - name: Login to ghcr uses: docker/login-action@v3 @@ -30,6 +42,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + file: ./Dockerfile push: true tags: ghcr.io/yunuo46/getaguitar:latest