kind: pipeline type: docker name: default workspace: base: /go path: src/github.com/octocat/hello-world steps: - name: test image: alpine # volumes: # - name: cache # path: /go commands: - ls / - echo "吃饭了吗?" > /go/a.txt - name: build image: alpine/git # volumes: # - name: cache # path: /go commands: - ls / - cat /go/a.txt volumes: - name: cache temp: {}