[stable-3] docker_image_build: add note on strange behavior (#1007)

* Add note on strange behavior.

* Document strange behavior in changelog.
This commit is contained in:
Felix Fontein
2024-12-14 15:12:54 +01:00
committed by GitHub
parent 4ab7733579
commit edd0186288
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,6 @@
known_issues:
- "docker_image_build - when ``outputs`` is specified, all entries with ``type=image``, ``type=oci`` and ``type=docker`` have their
name overwritten by the values provided in ``name`` and ``tag``. This happens because the module provides the ``--tag`` option
with the values of the ``name`` and ``tag`` options to Docker the buildx plugin, which for some reason takes that value and
uses it to overwrite the values in ``--output`` parameters
(https://github.com/ansible-collections/community.docker/issues/1001, https://github.com/ansible-collections/community.docker/pull/1007)."