From 711528eeb00fd90dde38e87ecee7d1c155cab0e6 Mon Sep 17 00:00:00 2001 From: Daniel Fox Date: Fri, 15 Dec 2023 08:41:07 -0800 Subject: [PATCH] Add manual GCR login for now (#8341) --- .semaphore/release/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.semaphore/release/release.yml b/.semaphore/release/release.yml index 98e50cb8a6d..cc3cf2320bc 100644 --- a/.semaphore/release/release.yml +++ b/.semaphore/release/release.yml @@ -53,6 +53,11 @@ blocks: # Credentials for accessing gcloud, needed to push images to gcr - export GOOGLE_APPLICATION_CREDENTIALS=$HOME/secrets/gcr-credentials.json - gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS} + # Manually log in to GCR until we can test the gcr credentials helper + - cat ${GOOGLE_APPLICATION_CREDENTIALS} | docker login -u _json_key --password-stdin https://gcr.io + - cat ${GOOGLE_APPLICATION_CREDENTIALS} | docker login -u _json_key --password-stdin https://eu.gcr.io + - cat ${GOOGLE_APPLICATION_CREDENTIALS} | docker login -u _json_key --password-stdin https://asia.gcr.io + - cat ${GOOGLE_APPLICATION_CREDENTIALS} | docker login -u _json_key --password-stdin https://us.gcr.io jobs: - name: "Release on Semaphore VM" execution_time_limit: