Merge pull request #625 from CartoDB/fix/ch175898/gcp-github-actions
fixed gcloud github actions setup
This commit is contained in:
commit
a65cfb2fd2
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@ -15,13 +15,14 @@ jobs:
|
|||||||
- name: Set CLOUDSDK_PYTHON path
|
- name: Set CLOUDSDK_PYTHON path
|
||||||
run: echo "CLOUDSDK_PYTHON=/usr/bin/python" >> $GITHUB_ENV
|
run: echo "CLOUDSDK_PYTHON=/usr/bin/python" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup gcloud authentication
|
- name: Set up docker registry
|
||||||
uses: google-github-actions/setup-gcloud@v0
|
env:
|
||||||
with:
|
SA_TO_USE: ${{ secrets.GCS }}
|
||||||
service_account_key: ${{ secrets.GCS }}
|
run: |
|
||||||
|
echo "${SA_TO_USE}" | base64 -d | docker login -u _json_key --password-stdin https://gcr.io
|
||||||
|
|
||||||
- name: Pull base image
|
- name: Pull base image
|
||||||
run: gcloud auth configure-docker && docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }}
|
run: docker pull gcr.io/cartodb-on-gcp-ci-testing/cartodb-postgresql-base:${{ matrix.pg_version }}
|
||||||
|
|
||||||
- name: Checkout ci tools repository
|
- name: Checkout ci tools repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user