From 6c7c0d7b1fb5d8f9bbb2f0f85ea47326a9908079 Mon Sep 17 00:00:00 2001 From: Xabier Almazor Date: Wed, 11 Oct 2023 13:39:46 +0200 Subject: [PATCH] update --- .github/workflows/azure-pipelines-emerynet.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/azure-pipelines-emerynet.yml b/.github/workflows/azure-pipelines-emerynet.yml index 49488735a..4de5fa0b0 100644 --- a/.github/workflows/azure-pipelines-emerynet.yml +++ b/.github/workflows/azure-pipelines-emerynet.yml @@ -15,7 +15,6 @@ jobs: run: | curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 sudo install skaffold /usr/local/bin/ - sudo apt-get update -y && sudo apt-get -y install google-cloud-sdk-gke-gcloud-auth-plugin shell: bash - name: Authenticate with Google Cloud @@ -25,8 +24,10 @@ jobs: project_id: web3-335312 export_default_credentials: true - - name: Activate Service Account - run: gcloud auth activate-service-account github-actions-187@web3-335312.iam.gserviceaccount.com --key-file=$GOOGLE_APPLICATION_CREDENTIALS + - name: Activate Service Account + Install GKE Plugin + run: | + gcloud auth activate-service-account github-actions-187@web3-335312.iam.gserviceaccount.com --key-file=$GOOGLE_APPLICATION_CREDENTIALS + gcloud components install gke-gcloud-auth-plugin - name: Login to GCR uses: docker/login-action@v3