mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
add buildspec.yml file
This commit is contained in:
parent
4c1ae0b4bc
commit
5715006c23
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue