Merge pull request #250 from CartoDB/fix/ch175898/gcp-github-actions

fixed gcloud github actions
This commit is contained in:
Manuel López Ruiz 2022-03-30 18:03:43 +02:00 committed by GitHub
commit 295c65df4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,13 +12,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- 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