I’m trying to build and push an image to our internal docker registry using drone 1.2.1
Credentials are stored on k8s using
I received this error:
level=fatal msg="Error authenticating: exit status 1"
Looking in running container I’ve found these environment variables:
export PLUGIN_USERNAME='my.user ' export PLUGIN_PASSWORD='MY_SUPERSECRET_PASSWORD '
If I set only the password from from UI, the environment variables are:
export PLUGIN_USERNAME='my.user ' export PLUGIN_PASSWORD='MY_SUPERSECRET_PASSWORD'
And the build works.
The secret is stored without
\n on k8s, es.
Does anyone have the same issue?