30 lines
412 B
YAML
30 lines
412 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang
|
|
commands:
|
|
- go get
|
|
- go test ./...
|
|
|
|
- name: build
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 1
|
|
GOOS: linux
|
|
commands:
|
|
- go build -a -installsuffix cgo .
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 2d623082fddfc811a5f7527f8220477d288dd62dd6fa0ca1d66ca64d3f41b929
|
|
|
|
...
|