diff --git a/.drone.yml b/.drone.yml index 96da7cc..8ec2028 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,18 +2,22 @@ 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 + # volumes: + # - name: cache + # path: /go commands: - ls / - echo "吃饭了吗" > /go/a.txt - name: build - image: alpine + image: alpine/git volumes: - name: cache path: /go