Skip to content

Commit

Permalink
Fix: Docker 컨테이너 삭제 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mjttong committed Aug 26, 2024
1 parent eef6274 commit de9e6df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
touch scripts/deploy.sh
echo "aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin $ECR_REGISTRY" >> scripts/deploy.sh
echo "docker pull $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> scripts/deploy.sh
echo "docker stop csbroker-api || true" >> scripts/deploy.sh
echo "docker rm csbroker-api || true" >> scripts/deploy.sh
echo "docker run -p 8080:8080 -e PROFILE=dev -d --restart always --name csbroker-api $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> scripts/deploy.sh
- name: Upload to S3
Expand Down

0 comments on commit de9e6df

Please sign in to comment.