community.docker/tests
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
..
ee Use FQCNs. (#1180) 2025-10-25 10:12:21 +02:00
images Add Distribution 3.0.0 image. 2025-08-03 14:18:29 +02:00
integration Improve error/warning messages w.r.t. YAML quoting (#1205) 2025-11-16 12:32:51 +01:00
sanity Add typing information, 2/n (#1178) 2025-10-25 01:16:04 +02:00
unit fix: Handle tag@digest format in push_image method 2025-11-23 19:48:02 -08:00
utils Restrict cffi on Python 2. (#1126) 2025-09-12 19:58:48 +02:00
config.yml Since we require ansible-core >= 2.15, nothing before Python 2.7 is supported and used in tests anyway. 2025-04-27 12:24:53 +02:00