From 2ccca759ceb405ca52a7c20ac3a6073a5aacf905 Mon Sep 17 00:00:00 2001 From: James Mills Date: Tue, 20 Jul 2021 15:56:32 +1000 Subject: [PATCH] Fix how CI is triggered --- .drone.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 361764a..5f7fcf3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,12 +5,6 @@ name: default steps: - name: build & run tests image: r.mills.io/prologic/golang-alpine - volumes: - - name: gomodcache - path: /go/pkg/mod/cache - privileged: true - environment: - GOPROXY: https://goproxy.mills.io commands: - make build - make test @@ -25,7 +19,9 @@ steps: - success - failure -volumes: - - name: gomodcache - host: - path: /var/lib/cache/go +trigger: + branch: + - master + event: + - tag + - pull_request