lib/kubes_google.rb in kubes_google-0.3.4 vs lib/kubes_google.rb in kubes_google-0.3.5
- old
+ new
@@ -33,9 +33,13 @@
def config
Config.instance.config
end
+ def cloudbuild?
+ !!ENV['BUILDER_OUTPUT'] # cloudbuild env vars: https://gist.github.com/tongueroo/7ae26abd60d30da3972e86b4e7ca315e
+ end
+
extend self
end
Kubes::Plugin.register(KubesGoogle)