From e38cbbc9e200695d76f2fcb6f49e3dd548740327 Mon Sep 17 00:00:00 2001 From: Andrea Falzetti Date: Tue, 25 Oct 2022 15:39:18 +0000 Subject: [PATCH] fix: gcloud auth for jetbrains backend-plugin gha workflow --- .github/workflows/jetbrains-update-backend-latest.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jetbrains-update-backend-latest.yml b/.github/workflows/jetbrains-update-backend-latest.yml index 05fa1a703edacc..1edd6c79067da3 100644 --- a/.github/workflows/jetbrains-update-backend-latest.yml +++ b/.github/workflows/jetbrains-update-backend-latest.yml @@ -34,6 +34,10 @@ jobs: key: ${{ runner.os }}-leeway-cache-${{ hashFiles('backend-plugin.version') }} restore-keys: | ${{ runner.os }}-leeway-cache- + - name: Auth Google Cloud SDK + uses: google-github-actions/auth@v0 + with: + credentials_json: ${{ secrets.GCP_SA_KEY }} - name: Set up Google Cloud SDK uses: google-github-actions/setup-gcloud@v0 with: @@ -41,4 +45,4 @@ jobs: - run: | gcloud auth configure-docker --quiet export LEEWAY_WORKSPACE_ROOT=$(pwd) - leeway build -Dversion=latest -DimageRepoBase=eu.gcr.io/gitpod-core-dev/build components/ide/jetbrains/backend-plugin:latest + leeway build -Dversion=latest -DimageRepoBase=eu.gcr.io/gitpod-core-dev/build components/ide/jetbrains/backend-plugin:latest --dont-retag