diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3f62485..1b50d40 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,7 +63,7 @@ jobs: docker push $ECR_REGISTRY/$ECR_REPOSITORY mkdir scripts touch scripts/deploy.sh - echo "aws ecr get-login --password --region ap-northeast-2 --no-include-email | docker login --username AWS --password-stdin $ECR_REGISTRY" >> scripts/deploy.sh + echo "aws ecr get-login-password --region ap-northeast-2 --no-include-email | docker login --username AWS --password-stdin $ECR_REGISTRY" >> scripts/deploy.sh echo "docker rm -f codedeploy" >> scripts/deploy.sh echo "docker rmi $ECR_REGISTRY/$ECR_REPOSITORY" >> scripts/deploy.sh echo "docker pull $ECR_REGISTRY/$ECR_REPOSITORY" >> scripts/deploy.sh