prevent mounting run/drone directory
This commit is contained in:
18
engine/linter/testdata/volume_restricted.yml
vendored
Normal file
18
engine/linter/testdata/volume_restricted.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go build
|
||||
- go test
|
||||
volumes:
|
||||
- name: vol
|
||||
path: /run/drone/env
|
||||
|
||||
volumes:
|
||||
- name: vol
|
||||
temp: {}
|
||||
Reference in New Issue
Block a user