Fix CI: workaround from @kolaente (#113)

as workaround from @kolaente

Signed-off-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/113
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
6543 2020-03-31 18:11:14 +00:00 committed by John Olheiser
parent f5d0790619
commit b37673c954
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
environment: environment:
GOPROXY: https://goproxy.cn GOPROXY: https://goproxy.cn
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands: commands:
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make release - make release