commit 9dc60f39aae8bdcc230889a62e2c7df50ba68746
parent 538f42f771d31b5fefaa0bfdc0825040b7947119
Author: Ryan Wolf <johnwayne@pseudony.ms>
Date: Sun, 9 Feb 2020 21:26:18 -0500
try go mod init . to fetch deps
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cloudbuild.yaml b/cloudbuild.yaml
@@ -7,8 +7,7 @@ steps:
cat app.yaml.example | sed "s/EXAMPLE_PASSWORD/${_PASSWORD}/" > app.yaml
# fetch dependencies
- name: mirror.gcr.io/library/golang
- env: ['GO111MODULE=on']
- args: ['go', 'build', './...']
+ args: ['go', 'mod', 'init', '.']
- name: "gcr.io/cloud-builders/gcloud"
args: ["app", "deploy"]
timeout: "1600s"