From 9107ff7ef9efe94b726c7f6fb10d4f0f14cb1482 Mon Sep 17 00:00:00 2001 From: xpk Date: Mon, 20 Jun 2022 15:02:32 +0800 Subject: [PATCH] UPD: added deploy script --- alpine/pma/refresh-service.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 alpine/pma/refresh-service.sh diff --git a/alpine/pma/refresh-service.sh b/alpine/pma/refresh-service.sh new file mode 100644 index 0000000..396f998 --- /dev/null +++ b/alpine/pma/refresh-service.sh @@ -0,0 +1,5 @@ +aws ecr get-login-password --region ap-southeast-1 | docker login --username AWS --password-stdin 728959568254.dkr.ecr.ap-southeast-1.amazonaws.com/ +docker push 728959568254.dkr.ecr.ap-southeast-1.amazonaws.com/lixil-cms/phpmyadmin +aws ecs update-service --cluster dev-apse1-lixil-cms-ecs-cluster --service dev-lixil-pma-service --force-new-deployment +aws ecs update-service --cluster staging-apse1-lixil-cms-ecs-cluster --service staging-apse1-lixil-cms-pma-service --force-new-deployment +aws ecs update-service --cluster prod-apse1-lixil-cms-ecs-cluster --service prod-apse1-lixil-cms-pma-service --force-new-deployment