Platform

Use the platform section to configure the target operating system and architecture and routes the pipeline to the appropriate runner.

Example linux arm64 pipeline:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
kind: pipeline
type: docker
name: default

platform:
  os: linux
  arch: arm64

steps:
- name: build
  image: golang
  commands:
  - go build
  - go test

If you are running Docker pipelines on windows you must specify the operating system version number.

Example windows 1809 pipeline:

5
6
7
8
platform:
  os: windows
  arch: amd64
  version: 1809

Supported Platforms

os arch version
linux amd64
linux arm
linux arm64
windows amd64 1809
windows amd64 1903
windows amd64 1909 (coming soon)