Skip to content

Commit efd20a3

Browse files
committed
drone: change value of GOPROXY
May be related to golang/go#33513.
1 parent b86bece commit efd20a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drone/.drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ local mod_download(go_version) = {
6161
name: 'mod-download',
6262
image: 'golang:%(go_version)s' % { go_version: go_version },
6363
commands: ['go mod download'],
64-
environment: { GOPROXY: 'https://proxy.golang.org' },
64+
environment: { GOPROXY: 'https://goproxy.io' },
6565
depends_on: ['clone'],
6666
};
6767

drone/.drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
commands:
1717
- go mod download
1818
environment:
19-
GOPROXY: https://proxy.golang.org
19+
GOPROXY: https://goproxy.io
2020
depends_on:
2121
- clone
2222

@@ -138,7 +138,7 @@ steps:
138138
commands:
139139
- go mod download
140140
environment:
141-
GOPROXY: https://proxy.golang.org
141+
GOPROXY: https://goproxy.io
142142
depends_on:
143143
- clone
144144

@@ -214,7 +214,7 @@ steps:
214214
commands:
215215
- go mod download
216216
environment:
217-
GOPROXY: https://proxy.golang.org
217+
GOPROXY: https://goproxy.io
218218
depends_on:
219219
- clone
220220

0 commit comments

Comments
 (0)