25 lines
350 B
YAML
25 lines
350 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 1
|
|
GOOS: linux
|
|
commands:
|
|
- go build -a -installsuffix cgo -o app .
|
|
- go test
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: c2c85efbea280e4aedbd78ebc249f61ac8928438ca61af8f7bd5779d153781ad
|
|
|
|
...
|