diff --git a/.drone.yml b/.drone.yml index 99fe3df..da89a40 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,11 @@ type: docker steps: - name: test image: golang:alpine + volumes: + - name: build + path: /build commands: + - apk --no-cache add git gcc musl-dev - go test ./... - name: build image: golang:alpine @@ -13,6 +17,7 @@ steps: - name: build path: /build commands: + - apk --no-cache add git gcc musl-dev - go build -o /build/godns - name: docker image: plugins/docker