2023-09-12 09:26:11 +08:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: alpine
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /go
|
|
|
|
commands:
|
|
|
|
- ls /
|
2023-09-12 09:29:27 +08:00
|
|
|
- echo "吃饭了吗" > /go/a.txt
|
2023-09-12 09:27:45 +08:00
|
|
|
|
2023-09-12 09:26:11 +08:00
|
|
|
- name: build
|
|
|
|
image: alpine
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /go
|
|
|
|
commands:
|
|
|
|
- ls /
|
2023-09-12 09:29:27 +08:00
|
|
|
- cat /go/a.txt
|
2023-09-12 09:26:11 +08:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
temp: {}
|
|
|
|
|