30 lines
360 B
YAML
30 lines
360 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: greeting
|
|
image: alpine
|
|
commands:
|
|
- echo hello
|
|
- echo world
|
|
|
|
- name: test
|
|
image: golang
|
|
volumes:
|
|
- name: deps
|
|
path: /go
|
|
commands:
|
|
- go test ./...
|
|
|
|
- name: build
|
|
image: golang
|
|
volumes:
|
|
- name: deps
|
|
path: /go
|
|
commands:
|
|
- go build ./...
|
|
|
|
volumes:
|
|
- name: deps
|
|
temp: {} |