Avoid wrapping long base64 encoded lines
When using combinations of username and password that result in longer than 76 characters output base64 will insert a newline character. In such a case kaniko will fail with an error message like this: /kaniko/.docker/config.json: invalid character '\n' in string literal By removing the newlines from the base64 output everything works as expected.
Showing
Please register or sign in to comment