From d02dfe993f4cc94bd8e87f454e17bbea8eea592d Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 20 Nov 2021 19:18:34 -0600 Subject: [PATCH] Update docs about selecting agent based on platform (#470) Update docs about selecting agent based on platform for global pipeline config --- docs/docs/20-usage/20-pipeline-syntax.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docs/20-usage/20-pipeline-syntax.md b/docs/docs/20-usage/20-pipeline-syntax.md index c275c4b5d..7c90a2407 100644 --- a/docs/docs/20-usage/20-pipeline-syntax.md +++ b/docs/docs/20-usage/20-pipeline-syntax.md @@ -153,6 +153,21 @@ pipeline: ``` +### `platform` + +To configure your pipeline to select an agent with a specific platform, you can use `platform` key. +```diff + ++platform: linux/arm64 + +pipeline: + build: + image: golang + commands: + - go build + - go test +``` + ### Skip Commits Woodpecker gives the ability to skip individual commits by adding `[CI SKIP]` to the commit message. Note this is case-insensitive.