kind: pipeline type: docker name: default steps: - name: build image: golang:1.17.1 environment: GOPROXY: "https://goproxy.cn,direct" commands: - env - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o kpt-gogs-demo