From f2c70704254478b12daf80cb8e7b000065eff45c Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Tue, 12 Sep 2023 09:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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