ecstool
Using Amazon Elastic Container Service repositories is kind of annoying, especially if you have multiple amazon sub accounts, using profiles.
This tool handles logging in for you, and then pushing local versions, potentially marking a version as latest if you want.
How to use
$ export AWS_PROFILE=PROFILE
$ ecstool push IMAGE VERSION [VERSION...]
This assumes your local image IMAGE
has a remote ECS repository called image
and is in the default region for the profile.
For example:
$ AWS_PROFILE=foo ecstool push app 1.2 latest