Build Nodes
About 139 wordsLess than 1 minute
When using Cloud Native Build, essentially build tasks are distributed to various build nodes
for execution. Nodes will execute build tasks using the specified Docker image as the build environment.
Configuration Method
Specify the pipeline.runner.tags
property in the pipeline configuration to select different build nodes.
Official available build node tags are as follows:
cnb:arch:amd64
representsamd64
architecture build nodescnb:arch:arm64:v8
representsarm64/v8
architecture build nodes
Note: cnb:arch:default
represents default build nodes. For SaaS scenarios, it's amd64
architecture build nodes, equivalent to cnb:arch:amd64
Example:
main:
push:
# Execute on amd64 architecture build nodes
- runner:
tags: cnb:arch:amd64
stages:
- name: uname
script: uname -a
# Execute on arm64/v8 architecture build nodes
- runner:
tags: cnb:arch:arm64:v8
stages:
- name: uname
script: uname -a