Is it possible to have the plugin read registry credentials from the .dockercfg file if it exists as part of the push? Maybe something like adding a 'file' property to DockerRegistryCredentials to load them from a given file at runtime. Or maybe simpler have a boolean that when flipped will attempt to check the users .dockercfg file for credentials if they exist?
Thoughts?
Is it possible to have the plugin read registry credentials from the .dockercfg file if it exists as part of the push? Maybe something like adding a 'file' property to DockerRegistryCredentials to load them from a given file at runtime. Or maybe simpler have a boolean that when flipped will attempt to check the users .dockercfg file for credentials if they exist?
Thoughts?