summaryrefslogtreecommitdiffhomepage
path: root/kokoro
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro')
-rw-r--r--kokoro/go.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/kokoro/go.cfg b/kokoro/go.cfg
index d1577252a..759e16152 100644
--- a/kokoro/go.cfg
+++ b/kokoro/go.cfg
@@ -1,5 +1,19 @@
build_file: "repo/scripts/go.sh"
+before_action {
+ fetch_keystore {
+ keystore_resource {
+ keystore_config_id: 73898
+ keyname: "kokoro-github-access-token"
+ }
+ }
+}
+
+env_vars {
+ key: "KOKORO_GITHUB_ACCESS_TOKEN"
+ value: "$KOKORO_ROOT/src/keystore/73898_kokoro-github-access-token"
+}
+
env_vars {
key: "KOKORO_GO_PUSH"
value: "true"