From main.yaml the docker pull command is executed in continoud deployment phase but it throws an error.
This was the error:
Error response from daemon: repository ***/*** not found: name unknown: The repository with name '***/***' does not exist in the registry with id '***'
From AWS ECR copy the URI (Universal resource locator) without the registry name.