From 5715006c237034846c5cd26ccb899c2db6d098de Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 18 Aug 2023 23:25:23 -0400 Subject: [PATCH] add buildspec.yml file --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index cd4fe102e..c42911d34 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -18,7 +18,7 @@ phases: - echo Build completed on `date` post_build: commands: - - $(aws ecr get-login-password --region $AWS_REGION) + - aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 516394029386.dkr.ecr.us-west-2.amazonaws.com - aws ecr describe-repositories --registry-id ${AWS_ACC} --repository-name ${REPO} - docker push $REPOSITORY_URI/${REPO}:latest artifacts: