Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # vagrant
- export AWS_ACCOUNT_ID=<numer-konta-aws>
- docker pull pandaacademy/backend
- docker pull pandaacademy/frontend
- aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com
- docker tag pandaacademy/backend:latest $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/backend:latest
- docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/backend:latest
- docker tag pandaacademy/frontend:latest $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/frontend:latest
- docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/frontend:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement