From 555d8e518b9e377d5b145cbce45ec0a24912d288 Mon Sep 17 00:00:00 2001 From: MinchoGreenT Date: Sat, 17 Aug 2024 03:48:44 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EB=8F=84=EC=BB=A4=ED=97=88=EB=B8=8C=20?= =?UTF-8?q?=EB=A0=88=ED=8F=AC=EC=A7=80=ED=86=A0=EB=A6=AC=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-cicd.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev-cicd.yml b/.github/workflows/dev-cicd.yml index 9a1bda6a..2f640c16 100644 --- a/.github/workflows/dev-cicd.yml +++ b/.github/workflows/dev-cicd.yml @@ -2,7 +2,7 @@ name: cicd for development on: push: - branches: [ "dev" ] + branches: [ "dev", "fix_82/클라우드-이전" ] jobs: build: @@ -46,9 +46,8 @@ jobs: - name: Docker build & push to dockerhub run: | - docker build -f Dockerfile -t minchogt/farmus-spring . - docker push minchogt/farmus-spring -# docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD + docker build -f Dockerfile -t modernfarmer/farmus-spring . + docker push modernfarmer/farmus-spring deploy: needs: build @@ -69,6 +68,6 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} envs: GITHUB_SHA script: | - sudo docker pull minchogt/farmus-spring + sudo docker pull modernfarmer/farmus-spring ./deploy.sh docker image prune -f