mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
build: use GOPROXY and disable download on some steps (#7745)
* build: use GOPROXY * disable download vendor on some steps
This commit is contained in:
committed by
Lauris BH
parent
5b902e2368
commit
cd238bc415
@@ -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"
|
||||
|
Reference in New Issue
Block a user