From ed4b441e68092db1ad8721a96ca6a8a126907fa8 Mon Sep 17 00:00:00 2001 From: Donghun Won Date: Tue, 30 Apr 2024 10:58:08 +0900 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2d311a7..41835b6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -26,14 +26,12 @@ jobs: with: java-version: '17' distribution: 'temurin' - - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: clean bootJar + + - name: Build + run: ./gradlew build - name: docker image build - run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/github-actions-demo . + run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/zero-plate-api . - name: docker login uses: docker/login-action@v2 @@ -42,4 +40,4 @@ jobs: password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: docker Hub push - run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/github-actions-demo + run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/zero-plate-api