I'm building docker images with TFS. After the image is build I would like to push it to Amazon EC2 Container Registry (ECR).
What is the best way to achieve this?
There is a extension for TFS to e.g. upload data to AWS S3 or run AWS CLI commands. With the CLI I could run aws ecr get-login --no-include-email --region xxx and then push the image manually. As our buildserver is a linux machine and "AWS Tools for Windows PowerShell Script" runs only on Windows it also does not work.
