diff --git a/.drone.yml b/.drone.yml index 36f3466..be5beaf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,15 +3,15 @@ type: docker name: compile steps: - - name: restore-pkg - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - restore: true - mount: - - $GOPATH/pkg + # - name: restore-pkg + # image: drillster/drone-volume-cache + # volumes: + # - name: cache + # path: /cache + # settings: + # restore: true + # mount: + # - $GOPATH/pkg # - name: test # image: eigeen/golang-devops:1.18 @@ -27,22 +27,22 @@ steps: commands: - go build - - name: rebuild-pkg - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - rebuild: true - mount: - - $GOPATH/pkg - #当对应条件的时候才会执行 - when: - status: - - success - - failure + # - name: rebuild-pkg + # image: drillster/drone-volume-cache + # volumes: + # - name: cache + # path: /cache + # settings: + # rebuild: true + # mount: + # - $GOPATH/pkg + # #当对应条件的时候才会执行 + # when: + # status: + # - success + # - failure -volumes: - - name: cache - host: - path: /tmp/cache \ No newline at end of file +# volumes: +# - name: cache +# host: +# path: /tmp/cache \ No newline at end of file