1
Fork 0

build: use GOPROXY and disable download on some steps (#7745)

* build: use GOPROXY

* disable download vendor on some steps
This commit is contained in:
Antoine GIRARD 2019-08-04 23:58:16 +02:00 committed by Lauris BH
parent 5b902e2368
commit cd238bc415
2 changed files with 26 additions and 0 deletions

View file

@ -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"