chore(build): use our own goproxy to prevent issues with packages not found
This commit is contained in:
parent
378759e06d
commit
191c154150
@ -438,6 +438,7 @@ steps:
|
|||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# 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.
|
# Leaving this here until we know how to resolve this properly.
|
||||||
GOPATH: /srv/app
|
GOPATH: /srv/app
|
||||||
|
GOPROXY: https://goproxy.kolaente.de
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- go install github.com/magefile/mage
|
- 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.
|
# 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.
|
# Leaving this here until we know how to resolve this properly.
|
||||||
GOPATH: /srv/app
|
GOPATH: /srv/app
|
||||||
|
GOPROXY: https://goproxy.kolaente.de
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- go install github.com/magefile/mage
|
- 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.
|
# 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.
|
# Leaving this here until we know how to resolve this properly.
|
||||||
GOPATH: /srv/app
|
GOPATH: /srv/app
|
||||||
|
GOPROXY: https://goproxy.kolaente.de
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- go install github.com/magefile/mage
|
- go install github.com/magefile/mage
|
||||||
@ -775,6 +778,6 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: b32ea5780ab6c4e57f201ec468357340349591a3026c96efd669a0b9c10f0e34
|
hmac: 6bc74f5b7e9c51e725100e05f07cdac656d6c3d49d19c2b112aed812c86e7a9a
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -13,6 +13,7 @@ COPY . ./
|
|||||||
|
|
||||||
ARG TARGETOS TARGETARCH TARGETVARIANT
|
ARG TARGETOS TARGETARCH TARGETVARIANT
|
||||||
|
|
||||||
|
ENV GOPROXY https://goproxy.kolaente.de
|
||||||
RUN export PATH=$PATH:$GOPATH/bin && \
|
RUN export PATH=$PATH:$GOPATH/bin && \
|
||||||
mage build:clean && \
|
mage build:clean && \
|
||||||
mage release:xgo "${TARGETOS}/${TARGETARCH}/${TARGETVARIANT}"
|
mage release:xgo "${TARGETOS}/${TARGETARCH}/${TARGETVARIANT}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user