这个示例用于展示,如何同时构建 amd64 和 arm64 平台的 hello world 镜像,并在用于 CNB 插件。
插件工作原理,参考官方文档:https://docs.cnb.cool/build/create-plugin.html
docker.cnb.cool/examples/plugins/hello-world:latest
docker run --rm docker.cnb.cool/examples/plugins/hello-world:latest
main:
push:
- stages:
- name: echo hello world
image: docker.cnb.cool/examples/plugins/hello-world:latest