docker_images module push does not work

From the docs I read:

- name: Build an image ad push it to a private repo
  docker_image:
    path: ./sinatra
    name: registry.ansible.com/chouseknecht/sinatra
    tag: v1

but when I tried to build an image, I saw it not pushing to a private repo. Am I misunderstanding something?

Thanks!