Name | Updated at | |
---|---|---|
.cnb.yml | ||
Dockerfile | ||
LICENSE | ||
README.md |
这个示例用于展示,如何同时构建 AMD
和 ARM
平台镜像,并上传到 CNB Docker 制品库。
cnb-init-from https://cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm.git
docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest
docker pull docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest
docker run docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest
main:
push:
- stages:
- name: hello-world
image: docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest
cnb-init-from https://cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm.git