date | title | author | weight | toc | description |
---|---|---|---|---|---|
2000-01-01 00:00:00 +0000 |
Platform |
bradrydzewski |
2 |
false |
Configure the target operating system and architecture.
|
Use the platform
section to configure the target operating system and architecture.
Example linux pipeline:
kind: pipeline
type: digitalocean
name: default
token:
from_secret: token
platform:
os: linux
arch: amd64
steps:
- name: build
commands:
- go build
- go test
Example freebsd pipeline:
kind: pipeline
type: digitalocean
name: default
token:
from_secret: token
platform:
os: freebsd
arch: amd64
steps:
- name: build
commands:
- go build
- go test