From 24b17128fcd06d169ccb32d86a2a1d657797d1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez=20Ruiz?= Date: Tue, 21 Dec 2021 10:35:47 +0100 Subject: [PATCH] Delete gcloud from CI [ch-198662] --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c8fcec..2e442be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,13 +15,14 @@ jobs: - name: Set CLOUDSDK_PYTHON path run: echo "CLOUDSDK_PYTHON=/usr/bin/python" >> $GITHUB_ENV - - name: Setup gcloud authentication - uses: google-github-actions/setup-gcloud@master - with: - service_account_key: ${{ secrets.GCS }} + - name: Set up docker registry + env: + SA_TO_USE: ${{ secrets.GCS }} + run: | + echo "${SA_TO_USE}" | base64 -d | docker login -u _json_key --password-stdin https://gcr.io - 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 uses: actions/checkout@v2