Scenario

Building a container using gopaddle fails with the below error:

************** Preparing Docker Image ************** E0322 08:15:24.270870 1 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for <imageName:tag> : POST <dockerEndpoint>/<repository>/<containerName>/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:<repository>/<containerName> Type:repository] map[Action:push Class: Name:<repository>/<containerName> Type:repository]] =============================================== Build Error Logs ======================================= E0322 08:15:24.270870 1 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for <imageName:tag>: POST <dockerEndpoint>/<repository>/<containerName>/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:<repository>/<containerName> Type:repository] map[Action:push Class: Name:<repository>/<containerName> Type:repository]] =============================================================================================================

Resolution

Check the user's permission for pushing the image to the repository. In the case of Docker Managed private hub, check the security configuration under the Account Settings. Ensure Read and Write permissions are enabled.

Did this answer your question?