diff options
author | Adin Scannell <ascannell@google.com> | 2019-09-11 21:03:12 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-11 21:04:42 -0700 |
commit | 1e6bdd58551246f6ae662a20b733a9c9dd5ef225 (patch) | |
tree | 6df9eace3cbb8fb23af98b8538b1e855b9e18324 /scripts | |
parent | c06ef5131f1ccd3106ccf4fa4e787db079db2d96 (diff) |
Update key environment variables.
PiperOrigin-RevId: 268604220
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 2 | ||||
-rwxr-xr-x | scripts/go.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index d5dd14acc..81023aab3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -24,7 +24,7 @@ pkg=$(build -c opt --host_force_python=py2 //runsc:runsc-debian) # Build a repository, if the key is available. if [[ -v KOKORO_REPO_KEY ]]; then - repo=$(tools/make_repository.sh "${KOKORO_REPO_KEY}" gvisor-bot@google.com ${pkg}) + repo=$(tools/make_repository.sh "${KOKORO_KEYSTORE_DIR}/${KOKORO_REPO_KEY}" gvisor-bot@google.com ${pkg}) fi # Install installs artifacts. diff --git a/scripts/go.sh b/scripts/go.sh index 83a667640..f24fad04c 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -35,7 +35,7 @@ if [[ "${KOKORO_GO_PUSH}" == "true" ]]; then git credential approve <<EOF protocol=https host=github.com -username=$(cat "${KOKORO_GITHUB_ACCESS_TOKEN}") +username=$(cat "${KOKORO_KEYSTORE_DIR}/${KOKORO_GITHUB_ACCESS_TOKEN}") password=x-oauth-basic EOF fi |