docker_image: always push, also when tagging is not necessary (#53)

* Always push, also when tagging is not necessary.

* Add tests.

* Fix tests.
This commit is contained in:
Felix Fontein
2020-12-26 18:20:28 +01:00
committed by GitHub
parent d40c2409d3
commit 117f132213
3 changed files with 81 additions and 3 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_image - if ``push=true`` is used with ``repository``, and the image does not need to be tagged, still push. This can happen if ``repository`` and ``name`` are equal (https://github.com/ansible-collections/community.docker/issues/52, https://github.com/ansible-collections/community.docker/pull/53)."