更新 '.drone.yml'
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
lingling 2023-09-12 09:41:15 +08:00
parent cd71b247eb
commit f2c7070425
1 changed files with 8 additions and 4 deletions

View File

@ -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