我尝试使用本教程将我的 docker 容器推送到谷歌容器注册表,但是当我运行时
gcloud docker push b.gcr.io/my-bucket/image-name
我得到错误:
The push refers to a repository [b.gcr.io/my-bucket/my-image] (len: 1)
Sending image list
Error: Status 403 trying to push repository my-bucket/my-image: "Access denied."
我找不到更多解释(没有识别出 -D、--debug、--verbose 参数),gcloud auth list
并docker info
告诉我我已连接到这两个服务。
有什么我想念的吗?