Instead of relying on automatic appending of the EE name by the podman module, be explicit and append it to the ee_registry_dest variable, and if tag is defined, assume that it should also be pushed to the registry with the same tag.
How should this be tested?
Build any existing execution environment. There should be no change in behaviour - the image should still be pushed. The actual image push is easy to see when running with -vvv:
This avoids changes in containers.podman behavior where the image name is not always automatically appended. In particular, if you happen to have a port specification it will not automatically append the image name, see https://github.com/containers/ansible-podman-collections/blob/master/plugins/modules/podman_image.py#L792.
What does this PR do?
Instead of relying on automatic appending of the EE name by the podman module, be explicit and append it to the
ee_registry_dest
variable, and if tag is defined, assume that it should also be pushed to the registry with the same tag.How should this be tested?
Build any existing execution environment. There should be no change in behaviour - the image should still be pushed. The actual image push is easy to see when running with
-vvv
:Is there a relevant Issue open for this?
Provide a link to any open issues that describe the problem you are solving. resolves #[number]
Other Relevant info, PRs, etc
Please provide link to other PRs that may be related (blocking, resolves, etc. etc.)