build: use GOPROXY and disable download on some steps (#7745)
* build: use GOPROXY * disable download vendor on some steps
This commit is contained in:
parent
5b902e2368
commit
cd238bc415
2 changed files with 26 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
#Build stage
|
||||
FROM golang:1.12-alpine3.10 AS build-env
|
||||
|
||||
ARG GOPROXY
|
||||
ENV GOPROXY ${GOPROXY:-direct}
|
||||
|
||||
ARG GITEA_VERSION
|
||||
ARG TAGS="sqlite sqlite_unlock_notify"
|
||||
ENV TAGS "bindata $TAGS"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue