From cab05b6822ca23012e8832d433ce20bf004124f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B0=80=EC=98=81?= Date: Tue, 30 Jul 2024 16:14:56 +0900 Subject: [PATCH] chore: git actions workflows --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d9d96c..c780e81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,12 @@ jobs: - name: List build/libs contents run: ls -la build/libs + - name: Docker build + run: | + docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + docker build -t ${{ secrets.DOCKER_USERNAME }}/sopo . + docker push ${{ secrets.DOCKER_USERNAME }}/sopo:latest + - name: Deploy to prod uses: appleboy/ssh-action@master id: deploy-prod