From d097ea0a7bbec711051c1fbe575b9ed4ccdd753d Mon Sep 17 00:00:00 2001 From: Tony Li Date: Tue, 29 Aug 2017 16:52:33 -0400 Subject: [PATCH] Change possible password fields GOOGLE_APPLICATION_CREDENTIALS "should point to a file that defines the credentials", and should not be the contents of the credentials to follow Google's convention. See https://developers.google.com/identity/protocols/application-default-credentials#howtheywork. --- cmd/drone-docker-gcr/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-docker-gcr/main.go b/cmd/drone-docker-gcr/main.go index b4bc5f8..cad17c8 100644 --- a/cmd/drone-docker-gcr/main.go +++ b/cmd/drone-docker-gcr/main.go @@ -19,7 +19,7 @@ func main() { "PLUGIN_JSON_KEY", "GCR_JSON_KEY", "GOOGLE_CREDENTIALS", - "GOOGLE_APPLICATION_CREDENTIALS", + "TOKEN", ) )