diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2aa1105..9412ff1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,13 +72,4 @@ jobs: sudo docker pull "${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:backend" - sudo docker run -d \ - --name "$CONTAINER_NAME" \ - -p 80:8080 \ - --log-driver=awslogs \ - --log-opt awslogs-group=/fledge/backend \ - --log-opt awslogs-region=ap-northeast-2 \ - --log-opt awslogs-stream="$CONTAINER_NAME" \ - -e TZ=Asia/Seoul \ - -e SPRING_PROFILES_ACTIVE=prod \ - "${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:backend" \ No newline at end of file + sudo docker run -d -p 80:8080 --name backend --log-driver=awslogs --log-opt awslogs-group=/fledge/backend --log-opt awslogs-stream=backend --log-opt awslogs-region=ap-northeast-2 -e SPRING_PROFILES_ACTIVE=prod juseungl/fledge:backend