【发布时间】:2020-12-06 08:06:36
【问题描述】:
我有一个 Google Cloud Build 触发器,可以在 Google Cloud 上构建我的映像。我也有 VPC 网络,它托管一些在构建图像时应该可以访问的资源。
在构建映像时,我的 docker 脚本需要访问 Web 服务器。看起来 GCP Cloud 构建网络不是我的私有 VPC 网络。因此,构建时所需的资源无法访问该脚本。
这是否可以在 VPC 网络中运行构建?如果是,怎么做?
【问题讨论】:
标签: google-cloud-platform google-cloud-build google-cloud-networking