spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Google Container Registry - Failed to parse auth string for https://us.gcr.io #305

Closed guzmo closed 6 years ago

guzmo commented 7 years ago

Description

I've added docker-maven-plugin to my spring-boot app and the image is being built, but when it tries to push to google container registry it says: Failed to parse auth string for https://us.gcr.io

Docker login command: docker login -e 1234@567.com -u _json_key -p "$(cat ~/.secrets/my-secret.json)" https://us.gcr.io

When I run docker push .... locally it works fine and everything gets pushed.

Been trying to find other issues here about it but couldn't find any.

Software:

mattnworb commented 7 years ago

Sorry for the lack of a reply. I am fairly certain that this would be fixed in 0.4.14, but I know for sure it is fixed in #339.