更新 '.drone.yml'
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
cd71b247eb
commit
f2c7070425
12
.drone.yml
12
.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
|
||||
|
|
Loading…
Reference in New Issue