Fixed build

This commit is contained in:
konrad 2019-05-22 20:36:11 +02:00
parent 7107d030fc
commit 7d46c88285
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -154,6 +154,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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
@ -166,6 +167,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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
@ -178,6 +180,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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
@ -351,6 +354,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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
@ -363,6 +367,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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
@ -375,6 +380,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
pull: true pull: true
environment: environment:
GOFLAGS: '-mod=vendor'
# 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