From 0e25716eaf29e0d3cbccd52dc1687bb8a7fb955e Mon Sep 17 00:00:00 2001 From: Xabier Almazor Date: Wed, 11 Oct 2023 12:24:48 +0200 Subject: [PATCH] update --- .github/workflows/azure-pipelines-emerynet.yml | 14 +++----------- alternate-key.json | 1 + 2 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 alternate-key.json diff --git a/.github/workflows/azure-pipelines-emerynet.yml b/.github/workflows/azure-pipelines-emerynet.yml index 4fa4630c5..eb8425237 100644 --- a/.github/workflows/azure-pipelines-emerynet.yml +++ b/.github/workflows/azure-pipelines-emerynet.yml @@ -17,20 +17,12 @@ jobs: sudo install skaffold /usr/local/bin/ shell: bash - - name: Configure Docker and Authenticate with Google Cloud + - name: Login to Container Registry run: | - echo "${{ secrets.GCP_AUTH_KEY }}" > google-credentials.json - gcloud auth configure-docker + echo "${{ secrets.GCP_AUTH_KEY }}" > web3-335312-5f8a650f4992.json + docker login -u _json_key --password-stdin https://gcr.io < web3-335312-5f8a650f4992.json shell: bash - - name: Login to Container Registry - run: | - echo "${{ secrets.GCP_AUTH_KEY }}" | docker login -u _json_key --password-stdin https://gcr.io - env: - DOCKER_CLI_ACI_SERVER: ${{ secrets.CONTAINER_REGISTRY_SERVER }} - shell: bash - - - name: Login to Kubernetes uses: azure/k8s-set-context@v1 with: diff --git a/alternate-key.json b/alternate-key.json new file mode 100644 index 000000000..a1b6eb432 --- /dev/null +++ b/alternate-key.json @@ -0,0 +1 @@ +5f8a650f499218c51250d3653908d927493c3a20