【发布时间】:2021-01-11 18:07:21
【问题描述】:
我想在 Google Cloud Artifact Registry 和 Cloud Run 之间建立连接(无需编写代码)。所以每次推送时,我都想在 Cloud Run 上创建/更新一个同名的服务。
这可能吗?
【问题讨论】:
标签: google-cloud-platform google-cloud-run google-artifact-registry
我想在 Google Cloud Artifact Registry 和 Cloud Run 之间建立连接(无需编写代码)。所以每次推送时,我都想在 Cloud Run 上创建/更新一个同名的服务。
这可能吗?
【问题讨论】:
标签: google-cloud-platform google-cloud-run google-artifact-registry
不,你不能。推送映像的系统必须在使用新映像触发新 Cloud Run 修订版的部署之后。 latest 标签,如果你愿意的话。
Artifact 注册表上的推送事件不可能自动执行。
【讨论】:
我建议你考虑一下 Container Registry,然后你可以连接自动事件。
【讨论】: