kind: pipeline type: docker name: default steps: - name: test image: alpine volumes: - name: cache path: /go commands: - ls / - echo "吃饭了吗" > /go/a.txt - name: build image: alpine volumes: - name: cache path: /go commands: - ls / - cat /go/a.txt volumes: - name: cache temp: {}