diff --git a/.drone.yml b/.drone.yml index 3444f8efb..8f336120c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -438,6 +438,7 @@ steps: # 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 + GOPROXY: https://goproxy.kolaente.de commands: - export PATH=$PATH:$GOPATH/bin - go install github.com/magefile/mage @@ -451,6 +452,7 @@ steps: # 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 + GOPROXY: https://goproxy.kolaente.de commands: - export PATH=$PATH:$GOPATH/bin - go install github.com/magefile/mage @@ -464,6 +466,7 @@ steps: # 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 + GOPROXY: https://goproxy.kolaente.de commands: - export PATH=$PATH:$GOPATH/bin - go install github.com/magefile/mage @@ -775,6 +778,6 @@ steps: - failure --- kind: signature -hmac: b32ea5780ab6c4e57f201ec468357340349591a3026c96efd669a0b9c10f0e34 +hmac: 6bc74f5b7e9c51e725100e05f07cdac656d6c3d49d19c2b112aed812c86e7a9a ... diff --git a/Dockerfile b/Dockerfile index 278d0d877..69c428f97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ COPY . ./ ARG TARGETOS TARGETARCH TARGETVARIANT +ENV GOPROXY https://goproxy.kolaente.de RUN export PATH=$PATH:$GOPATH/bin && \ mage build:clean && \ mage release:xgo "${TARGETOS}/${TARGETARCH}/${TARGETVARIANT}"