Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shenb24257163e17
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 4555d880e8..7f8807e4ae 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -336,12 +336,16 @@ jobs:
moreOptions: --builder onedev --platform @param:Platforms@
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
paramSpecs:
- - !TextParam
+ - !ChoiceParam
name: Platforms
+ allowMultiple: true
allowEmpty: false
- multiline: false
- defaultValueProvider: !SpecifiedDefaultValue
- value: linux/amd64
+ choiceProvider: !SpecifiedChoices
+ choices:
+ - value: linux/amd64
+ color: '#0d87e9'
+ - value: linux/arm64
+ color: '#0d87e9'
jobDependencies:
- jobName: CI
requireSuccessful: true