Gitlab build and send the image to AWS


I want to build docker image from Gitlab account and push the same to AWS ECR registry.
Is this feature supported in the Gitlab.


This feels so basic, yet I’ve spent 10 hours trying to get it working. The AWS v2 CLI is not compatible with the docker:latest image.