Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45dd53c

Browse files
author
Takashi Matsuo
committed
setup kokoro service account only on kokoro
1 parent a2550fb commit 45dd53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.kokoro/trampoline_v2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then
133133
fi
134134

135135
# Configure the service account for pulling the docker image.
136-
if [[ -n "${KOKORO_GFILE_DIR:-}" ]]; then
136+
if [[ "${TRAMPOLINE_CI:-}" == "kokoro" ]]; then
137137
# Now we're re-using the trampoline service account.
138138
# Potentially we can pass down this key into Docker for
139139
# bootstrapping secret.

0 commit comments

Comments
 (0)