logo
0
0
Login

Multi-Platform Build Example

pipeline-as-code git-clone-yyds push

This example demonstrates how to simultaneously build amd64 and arm64 images and upload them to the CNB Docker Artifact Repository.

Image

docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest

Usage

Using with Docker

docker run --rm docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest

Using with Cloud Native Build

main: push: - stages: - name: hello-world image: docker.cnb.cool/examples/ecosystem/multiarch-docker-build-amd-arm:latest

About

只有 amd64 怎么行,arm64 也得安排~

Language
Markdown71.6%
License24.7%
Dockerfile3.7%