在没有 gcloud 的情况下将图像推送到 gcr.io

Push image to gcr.io without gcloud

我正在尝试将图像推送到 gcr.io,根据:https://cloud.google.com/container-registry/docs/advanced-authentication(使用 JSON 密钥文件部分)。但我收到错误:"denied: Unable to access the repository, please check that you have permission to access it." 我已经尝试使用默认服务帐户并创建了新帐户(具有编辑器和存储管理员角色) - 没有结果。我错过了什么吗?

UPD:原因是 json 密钥文件已损坏。

能否将您要推送的图片(包括 projectID)发送到 gcr-contact@google.com?