From 40e606561f5cd0b3ceb295edf2ff77e0d71ee050 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 28 Mar 2022 23:59:48 +0200 Subject: [PATCH] GOPROXY: https://goproxy.io --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d7c79f2..960ce23 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: pull: always image: golang:1.17 environment: - GOPROXY: https://goproxy.cn + GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not commands: - make clean - make vet @@ -32,6 +32,8 @@ steps: - make unit-test-coverage settings: group: test + environment: + GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not when: branch: - master @@ -45,6 +47,8 @@ steps: - make test settings: group: test + environment: + GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not when: branch: - "release/*" @@ -59,6 +63,8 @@ steps: - make test settings: group: test + environment: + GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not when: event: - tag @@ -66,7 +72,7 @@ steps: - name: static image: golang:1.17 environment: - GOPROXY: https://goproxy.cn + GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not commands: - export PATH=$PATH:$GOPATH/bin - make release