add buildspec.yml file

This commit is contained in:
unknown 2023-08-18 23:12:08 -04:00
parent 2307266189
commit 4c1ae0b4bc

View file

@ -18,7 +18,7 @@ phases:
- echo Build completed on `date` - echo Build completed on `date`
post_build: post_build:
commands: commands:
- $(aws ecr get-login-password --region $AWS_REGION --no-include-email) - $(aws ecr get-login-password --region $AWS_REGION)
- aws ecr describe-repositories --registry-id ${AWS_ACC} --repository-name ${REPO} - aws ecr describe-repositories --registry-id ${AWS_ACC} --repository-name ${REPO}
- docker push $REPOSITORY_URI/${REPO}:latest - docker push $REPOSITORY_URI/${REPO}:latest
artifacts: artifacts: