diff --git a/.drone1.yml b/.drone1.yml index 9d607c83..9812f24d 100644 --- a/.drone1.yml +++ b/.drone1.yml @@ -154,6 +154,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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 @@ -166,6 +167,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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 @@ -178,6 +180,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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 @@ -351,6 +354,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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 @@ -363,6 +367,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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 @@ -375,6 +380,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: + GOFLAGS: '-mod=vendor' # 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