community.docker/plugins/modules
Paul Berruti 31cebc66bf fix: Handle tag@digest format in push_image method
Extends the tag@digest fix to also cover push operations in docker_image.py.
The push_image() method was passing combined tag@digest format directly to
the Docker API's /images/{name}/push endpoint, which fails with
"invalid tag format" errors.

This fix:
1. Imports build_pull_arguments() into docker_image.py
2. Uses the helper in push_image() before calling the API
3. When tag contains @ (but isn't a pure digest), passes the full
   reference as the image name and omits the tag parameter

This complements the previous fix to pull_image() methods, ensuring
both pull and push operations handle tag@digest correctly.
2025-11-23 19:48:02 -08:00
..
current_container_facts.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_compose_v2_exec.py Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
docker_compose_v2_pull.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_compose_v2_run.py Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
docker_compose_v2.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_config.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_container_copy_into.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_container_exec.py Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
docker_container_info.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_container.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_context_info.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_host_info.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_image_build.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_image_export.py docker_image(_push): fix push detection (#1199) 2025-11-16 10:09:23 +01:00
docker_image_info.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_image_load.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_image_pull.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_image_push.py docker_image(_push): fix push detection (#1199) 2025-11-16 10:09:23 +01:00
docker_image_remove.py docker_image(_push): fix push detection (#1199) 2025-11-16 10:09:23 +01:00
docker_image_tag.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_image.py fix: Handle tag@digest format in push_image method 2025-11-23 19:48:02 -08:00
docker_login.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_network_info.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_network.py Fix IP subnet and address idempotency. (#1201) 2025-11-16 10:47:35 +01:00
docker_node_info.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_node.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_plugin.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_prune.py Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00
docker_secret.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_stack_info.py Python code modernization, 8/n (#1179) 2025-10-25 00:36:04 +00:00
docker_stack_task_info.py Python code modernization, 8/n (#1179) 2025-10-25 00:36:04 +00:00
docker_stack.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_swarm_info.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_swarm_service_info.py Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
docker_swarm_service.py Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
docker_swarm.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_volume_info.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00
docker_volume.py Cleanup with ruff check (#1182) 2025-10-28 06:58:15 +01:00