Skip to content

Commit

Permalink
Add manual GCR login for now (#8341)
Browse files Browse the repository at this point in the history
  • Loading branch information
danudey authored Dec 15, 2023
1 parent cd2c3a8 commit 711528e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .semaphore/release/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 711528e

Please sign in to comment.