mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Drone Config: Use AUTO_GOPATH instead of hacking around.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
image: dockercore/docker
|
||||
env:
|
||||
- GOPATH=/var/cache/drone:$DRONE_BUILD_DIR/vendor
|
||||
- AUTO_GOPATH=1
|
||||
- DOCKER_GRAPHDRIVER=vfs
|
||||
- DOCKER_EXECDRIVER=native
|
||||
script:
|
||||
# Setup the go environment.
|
||||
- mkdir -p /var/cache/drone/src/github.com/docker
|
||||
- ln -s $DRONE_BUILD_DIR /var/cache/drone/src/github.com/docker
|
||||
# Setup the DockerInDocker environment.
|
||||
- hack/dind
|
||||
# Validate and test.
|
||||
|
||||
Reference in New Issue
Block a user