更新 '.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
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
base: /go
|
||||||
|
path: src/github.com/octocat/hello-world
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: alpine
|
image: alpine
|
||||||
volumes:
|
# volumes:
|
||||||
- name: cache
|
# - name: cache
|
||||||
path: /go
|
# path: /go
|
||||||
commands:
|
commands:
|
||||||
- ls /
|
- ls /
|
||||||
- echo "吃饭了吗" > /go/a.txt
|
- echo "吃饭了吗" > /go/a.txt
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine
|
image: alpine/git
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go
|
path: /go
|
||||||
|
|
Loading…
Reference in New Issue