From 1d9e4c71d36b2b9599e9e1f0e12f608b9433886d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sat, 30 Oct 2021 23:30:34 -0700 Subject: [PATCH] Test volume mount --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e3ce351..738afff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,10 +4,13 @@ name: default steps: - name: test - image: golang:1.16.3 + image: golang:1.17.2 commands: - go test -v - go build + volumes: + - name: go-pkg + path: /go/pkg resources: limits: cpu: 1000 @@ -29,3 +32,8 @@ steps: from_secret: harbor_username password: from_secret: harbor_password + +volumes: +- name: shared + claim: + name: go-pkg