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

withRegistry should support specifying a username/password

XMLWordPrintable

      When using the Azure Credentials plugin, I can set up a specific Service Principal credential type which will expose an AZURE_CLIENT_ID and AZURE_CLIENT_SECRET into my Pipeline's environment, which can be used as the username/password for an Azure Container Registry.

      Unfortunately, the docker.withRegistry() method only accepts a URI and Username/Password Credential type,

      It would be nice to support an overload of withRegistry() which accepts: uri, username, password

            Unassigned Unassigned
            rtyler R. Tyler Croy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: