Can Google Cloud Build be triggered by new Docker image in Container Registry?

江枫思渺然 提交于 2019-12-05 21:36:09

Meanwhile, there is a solution but it's a lillte cumbersome.

As most of you probably know, GCR stores its images into a Bucket, it is possible then to write a Cloud Function that is triggered whenever a changes occurs in the Bucket (look at the documentation here).

Your Cloud Function will then run the trigger by calling either the Google Cloud SDK client either the rest API.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!