我想使用github操作将我的代码部署到GKE,但是在发布步骤中我得到了一个错误:
The push refers to repository [europe-west1-c-docker.pkg.dev/***/samples/static-site]
83109fa660b2: Preparing
30d3c4334a23: Preparing
f2fa9f4cf8fd: Preparing
f2fa9f4cf8fd: Layer already exists
30d3c4334a23: Layer already exists
83109fa660b2: Layer already exists
invalid checksum digest format

我刚接触过码头,所以我想我的码头文件可能是错的:
# Pull base image.
FROM ubuntu:14.04
# Define default command.
CMD ["bash"]在我的google.yml中有一个环境变量,我不知道它的目的,我认为这也可能是错误的:
REPOSITORY: samples # TODO: update to Artifact Registry docker repository
IMAGE: static-site我还没有在google云中做任何与这两者相关的操作,也没有改变它们的默认设置。
C++代码,Ubuntu。
发布于 2022-07-28 10:39:55
您的$GAR_LOCATION应该是伪影注册中心的区域,在这里您输入了europe-west1-c,它是一个区域(区域将是europe-west1)。
如果您已经创建了GAR的区域(= ),或者在前面创建一个(这很容易使用控制台)。
https://stackoverflow.com/questions/73150226
复制相似问题