2023-12-12 22:55:19 +00:00
|
|
|
kind: pipeline
|
2023-12-12 22:59:18 +00:00
|
|
|
type: docker
|
2023-12-12 22:55:19 +00:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2023-12-12 22:59:18 +00:00
|
|
|
- name: greeting
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- echo hello
|
|
|
|
- echo world
|
|
|
|
|
2023-12-12 22:55:19 +00:00
|
|
|
- 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: {}
|