Skip to content

Commit

Permalink
fix: dev에서 --remove-orphans 옵션 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Feb 9, 2025
1 parent 78bfaf7 commit 732427b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/aws-cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- develop

- refactor/LA-38
pull_request:
branches:
- develop
- refactor/LA-38
env:
REGISTRY: "docker.io"
NAMESPACE: "clean01"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/aws-cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ on:
push:
branches:
- main
- refactor/LA-38
pull_request:
branches:
- main
- refactor/LA-38


env:
REGISTRY: "docker.io"
Expand Down
4 changes: 2 additions & 2 deletions layer-api/infra/development/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -z $IS_GREEN ];then # blue라면
sudo docker-compose -f docker-compose-green.yaml pull

echo "2. green container up"
sudo docker-compose -f docker-compose-green.yaml up -d --remove-orphans
sudo docker-compose -f docker-compose-green.yaml up -d

while [ 1 = 1 ]; do
echo "3. green health check..."
Expand Down Expand Up @@ -43,7 +43,7 @@ else
sudo docker-compose -f docker-compose-blue.yaml pull

echo "2. blue container up"
sudo docker-compose -f docker-compose-blue.yaml up -d --remove-orphans
sudo docker-compose -f docker-compose-blue.yaml up -d


while [ 1 = 1 ]; do
Expand Down

0 comments on commit 732427b

Please sign in to comment.