Use goproxy
This commit is contained in:
parent
3bc17d6aba
commit
c6a2815dcc
2 changed files with 10 additions and 0 deletions
|
@ -9,6 +9,8 @@ steps:
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
# - linux/arm64
|
# - linux/arm64
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000
|
||||||
when:
|
when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
- event: push
|
- event: push
|
||||||
|
@ -29,6 +31,8 @@ steps:
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
# - linux/arm64
|
# - linux/arm64
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
@ -47,6 +51,8 @@ steps:
|
||||||
from_secret: git_username
|
from_secret: git_username
|
||||||
password:
|
password:
|
||||||
from_secret: git_password
|
from_secret: git_password
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,15 @@ steps:
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- make -C polyculeconnect test
|
- make -C polyculeconnect test
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000
|
||||||
|
|
||||||
go-build:
|
go-build:
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- make -C polyculeconnect build
|
- make -C polyculeconnect build
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
|
|
Loading…
Reference in a new issue