POD中推送镜像到habo

环境介绍 jenkins安装在k8s集群内部,使用动态slave节点去运行构建任务,在打包好镜像 登录habor 最后推送镜像时提示未授权,pod内是可以拉取镜像的 habor项目是公开权限 ,宿主机是可以直接推送镜像到Habor的

The push refers to repository [harbor.skywalk.cn/skywalk/test-slave-tool] b4f2f570cc0c: Preparing 3bb5258f46d2: Preparing 832e177bb500: Preparing f9e18e59a565: Preparing 26a504e63be4: Preparing 8bf42db0de72: Preparing 31892cc314cb: Preparing 11936051f93b: Preparing 31892cc314cb: Waiting 11936051f93b: Waiting 8bf42db0de72: Waiting unauthorized: unauthorized to access repository: skywalk/test-slave-tool, action: push: unauthorized to access repository: skywalk/test-slave-tool, action: push