or Create a profile
28 Oct, 2019 11:44 PM
I don't see any examples or discussions about publishing a container image artifact to AWS ECR. Is there anything preventing this from working? It seems like a natural item to be set as a deployment provider in the yaml.
Is anyone doing this? I'm checking so that there is a record yes or no about the feasibility. It is helpful to know if the answer is no, so people don't have to rediscover the same thing over and over.
on 29 Oct, 2019 02:36 AM
It's not yet supported though it would be great to have such a deployment provider. Supporting Docker Hub and Azure ACR would be great too.
How does publishing to ECR work? Is it just regular docker push with some credentials?
on 29 Oct, 2019 04:55 PM
aws ecr get-login --region my_region --no-include-email
docker login -u AWS -p aws_password https://aws_account_id.dkr.ecr.my_region.amazonaws.com
That gives an authentication token that is good for 12 hours.
To push an image, first tag it with:
docker tag my_tag aws_account_id.dkr.ecr.my_region.amazonaws.com/my-app
docker push aws_account_id.dkr.ecr.my_region.amazonaws.com/my-app
on 29 Oct, 2019 05:02 PM
Thanks! I've added a new issue: https://github.com/appveyor/ci/issues/3164
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.