From 544d40baafd3ba33f94430a17eb6721e2f86b56b Mon Sep 17 00:00:00 2001 From: Sim-km Date: Fri, 16 Aug 2024 22:25:55 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=8F=84=EC=BB=A4=20=EB=A0=88?= =?UTF-8?q?=EC=A7=80=EC=8A=A4=ED=8A=B8=EB=A6=AC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev_deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index 521ee6b..95c734b 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -85,8 +85,8 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} IMAGE_NAME: ${{ secrets.IMAGE_NAME }} run: | - docker build -f .deploy/Dockerfile -t $DOCKER_REGISTRY/$IMAGE_NAME:$VERSION . - docker tag $DOCKER_USERNAME/$IMAGE_NAME:$VERSION $DOCKER_REGISTRY/$IMAGE_NAME:latest + docker build -f .deploy/Dockerfile -t $DOCKER_USERNAME/$IMAGE_NAME:$VERSION . + docker tag $DOCKER_USERNAME/$IMAGE_NAME:$VERSION $DOCKER_USERNAME/$IMAGE_NAME:latest docker push $DOCKER_USERNAME/$IMAGE_NAME:$VERSION docker push $DOCKER_USERNAME/$IMAGE_NAME:latest @@ -108,12 +108,8 @@ jobs: echo "RDB_SCHEMA=${{secrets.RDB_SCHEMA}}" >> .env echo "RDB_USER=${{secrets.RDB_USER}}" >> .env echo "RDB_PASSWORD=${{secrets.RDB_PASSWORD}}" >> .env - echo "MONGO_HOST=${{secrets.MONGO_HOST}}" >> .env - echo "MONGO_DB=${{secrets.MONGO_DB}}" >> .env - echo "MONGO_USER=${{secrets.MONGO_USER}}" >> .env - echo "MONGO_PASSWORD=${{secrets.MONGO_PASSWORD}}" >> .env echo "JWT_SECRET=${{secrets.JWT_SECRET}}" >> .env - echo "DOCKER_REGISTRY=${{secrets.DOCKER_REGISTRY}}" >> .env + echo "DOCKER_REGISTRY=${{secrets.DOCKER_USERNAME}}" >> .env echo "IMAGE_NAME=${{secrets.IMAGE_NAME}}" >> .env echo "SEOUL_OPEN_API_KEY=${{secrets.SEOUL_OPEN_API_KEY}}" >> .env echo "NEIS_OPEN_API_KEY=${{secrets.NEIS_OPEN_API_KEY}}" >> .env