add buildspec.yml file

This commit is contained in:
unknown 2023-08-18 23:25:23 -04:00
parent 4c1ae0b4bc
commit 5715006c23

View file

@ -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: