Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72233

Support for the legacy ~/.dockercfg has been removed in Docker 23.0

XMLWordPrintable

      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
      

            csanchez Carlos Sanchez
            andreymz Andrey
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: