Google cloud build 为什么建议对纱线使用云生成器?
查看Google Cloud Build的Thread builder的源代码,我想知道为什么建议使用该builder而不是指定入口点 基本上Google cloud build 为什么建议对纱线使用云生成器?,google-cloud-build,Google Cloud Build,查看Google Cloud Build的Thread builder的源代码,我想知道为什么建议使用该builder而不是指定入口点 基本上 steps - name: 'gcr.io/cloud-builders/yarn' args: - install vs 这是因为cloud builder已在Google cloud容器注册表中注册,从Google cloud builder中读取速度更快吗?是的,您已更正。事实上,建议这样做是因为使用构建器从容器注册表读
steps
- name: 'gcr.io/cloud-builders/yarn'
args:
- install
vs
这是因为cloud builder已在Google cloud容器注册表中注册,从Google cloud builder中读取速度更快吗?是的,您已更正。事实上,建议这样做是因为使用构建器从容器注册表读取数据会更快 正如代码所示,您直接从Thread引用容器,这将使访问比使用入口点更快
如果这些信息对你有帮助,请告诉我 谢谢你的回复,我想是的,但不太确定。
steps:
- name: node:10
entrypoint: yarn
args:
- install