From 89feb7250ad1a7197ed326730fc3d9f13d21d191 Mon Sep 17 00:00:00 2001 From: SeongWonYoon Date: Mon, 2 Dec 2024 18:14:47 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20gradle.yml=EC=97=90=20Docker=20build=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 917c237..51e1a9b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -52,4 +52,13 @@ jobs: cd wabi ls ./gradlew clean build -x test + + - name: Docker build + run: | + docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }} + docker build -t seongwonyoon/wabi . + docker tag wabi seongwonyoon/wabi:${GITHUB_SHA::7} + docker push seongwonyoon/wabi:${GITHUB_SHA::7} + +