logo
3
2
Login
fix: update link for docs

Hello World 示例

pipeline-as-code git-clone-yyds push

这个示例用于展示,如何同时构建 amd64arm64 平台的 hello world 镜像,并在用于 CNB 插件。

插件工作原理,参考官方文档:https://docs.cnb.cool/build/create-plugin.html

镜像

docker.cnb.cool/examples/plugins/hello-world:latest

使用

在 Docker 上使用

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