推送到远程仓库(阿里云)失败
使用命令 mvn clean package docker:build
参考博客 https://blog.csdn.net/boling_cavalry/article/details/78934391
在build的时候报错
Failed to execute goal com.spotify:docker-maven-plugin:0.4.12:build (default-cli) on project dockerpackage: Exception caught: 254 -> [Help 1]
打开调试模式
mvn clean package docker:build -X
[DEBUG] Auth Config AuthConfig{username=XXX, password=XXX, email=2352463050@qq.com, serverAddress=registry.cn-chengdu.aliyuncs.com}
[DEBUG] Registry Config Json {"registry.cn-chengdu.aliyuncs.com":{"serveraddress":"registry.cn-chengdu.aliyuncs.com","password":"xxxx","auth":"","email":"2352463050@qq.com","username":"bapi1号"}}
"auth":"" 认证信息为空