From a9c5030071289474c05272b93818004799502c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=86=8C=EB=AF=BC?= Date: Wed, 10 Apr 2024 18:33:44 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20github=20actions=20docker=20build=20wor?= =?UTF-8?q?kflow=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 2319945..4008e38 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -54,4 +54,9 @@ jobs: USER_DAFAULTIMAGE: ${{ secrets.USER_DAFAULTIMAGE }} - + - name: Docker build + run: | + docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + docker build -t app . + docker tag app ${{ secrets.DOCKER_USERNAME }}/sejongmate:latest + docker push ${{ secrets.DOCKER_USERNAME }}/sejongmate:latest