testing with platform in pipeline

This commit is contained in:
Stefan Hoffmann 2021-01-03 11:57:29 +01:00
parent 183e9ea267
commit a533c7e114

View File

@ -1,6 +1,10 @@
local pipeline(os, arch) = { local pipeline(os, arch) = {
kind: "pipeline", kind: "pipeline",
name: "build " + os + "/" + arch, name: "build " + os + "/" + arch,
platform: {
"arch": arch,
"os": os
},
steps: [{ steps: [{
name: "compile " + os + "/" + arch, name: "compile " + os + "/" + arch,
image: "golang:1.15.6-alpine3.12", image: "golang:1.15.6-alpine3.12",