diff --git a/.github/workflows/dev-cicd.yml b/.github/workflows/dev-cicd.yml index 9a1bda6..2f640c1 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