Errors":[{"code":"UNAUTHORIZED","message":"The client does not have permission to push to the repository
My build.gradle has the below Given code.
I had to pass the username and password using the -D param as below.
-Djib.to.auth.username=$USERNAME \ -Djib.to.auth.password=$PASSWORD
Is there a way to pull the docker secret from docker.config. I can pass this file as param or deploy this as ConfigMap in Kubernetes and refer to it.
If anyone can provide more details on the best mechanism (docker.config or -D param or credHelper etc.) to pass the authentication credentials, that would be great.
Thanks in advance!