community.docker/plugins
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
..
action Python code modernization, 8/n (#1179) 2025-10-25 00:36:04 +00:00
connection Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
doc_fragments
inventory Python code modernization, 8/n (#1179) 2025-10-25 00:36:04 +00:00
module_utils fix: Handle tag@digest format in pull_image methods 2025-11-23 19:13:11 -08:00
modules fix: Handle tag@digest format in push_image method 2025-11-23 19:48:02 -08:00
plugin_utils Add typing information, 1/2 (#1176) 2025-10-23 07:05:42 +02:00