-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
https://docs.docker.com/engine/deprecated/#support-for-legacy-dockercfg-configuration-files
Support for legacy ~/.dockercfg configuration files
Deprecated in Release: v20.10 Removed in Release: v23.0
So, the plugin does not work with Docker 23.0+ anymore. The job log contains something like
[my-stage] $ docker push my-repo.example/my-image:my-tag WARNING: Support for the legacy ~/.dockercfg configuration file and file-format has been removed and the configuration file will be ignored ... unauthorized: unauthorized to access repository: my-image, action: push: unauthorized to access repository: my-image, action: push Build step 'Docker Build and Publish' marked build as failure Finished: FAILURE