You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
I am using the spotify.com maven-docker-plugin to push a docker image to a google container registry. I initially configured the the oauth token in the maven settings.xml file and it worked like a champ. However, I don't want to have to get a new token multiple times throughout the day and would like to use the private key for the service account. I can't seem to figure out how to make this work. I keep getting an "Incomplete Docker registry authorization credentials" error. It seems the plugin always expects a password with the username.
How to reproduce
Configure server in settings.xml with username of _json_key and privateKey entry referencing the private key filel
What do you expect
I expect the docker image to be pushed to may Google container registry.
What happened instead
I get an "Incomplete Docker registry authorization credentials" error.
Software:
docker version: 17.03.0-ce
docker-maven-plugin version: 0.4.11
maven version: 3.3.9
Full backtrace
[Paste full backtrace here]
The text was updated successfully, but these errors were encountered:
Description
I am using the spotify.com maven-docker-plugin to push a docker image to a google container registry. I initially configured the the oauth token in the maven settings.xml file and it worked like a champ. However, I don't want to have to get a new token multiple times throughout the day and would like to use the private key for the service account. I can't seem to figure out how to make this work. I keep getting an "Incomplete Docker registry authorization credentials" error. It seems the plugin always expects a password with the username.
How to reproduce
Configure server in settings.xml with username of _json_key and privateKey entry referencing the private key filel
What do you expect
I expect the docker image to be pushed to may Google container registry.
What happened instead
I get an "Incomplete Docker registry authorization credentials" error.
Software:
Full backtrace
The text was updated successfully, but these errors were encountered: