You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
316 B
19 lines
316 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
volumes:
|
|
- name: gopath
|
|
host:
|
|
path: /usr/local/path/gopath
|
|
steps:
|
|
- name: golang-build
|
|
image: golang:1.17-alpine3.15
|
|
volumes:
|
|
- name: gopath
|
|
path: /go
|
|
commands:
|
|
- echo "hello world"
|
|
when:
|
|
target: [ "test","pre" ]
|
|
|