diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e51cb63..383ad45 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -36,9 +36,7 @@ jobs: workload_identity_provider: 'projects/7577580991/locations/global/workloadIdentityPools/gha-pool/providers/gha-provider' service_account: 'gha-deployer@kontaindotme.iam.gserviceaccount.com' create_credentials_file: true - - run: | - gcloud auth login --brief --cred-file="${{ steps.auth.outputs.credentials_file_path }}" - gcloud auth print-access-token | ko login gcr.io --username=oauth2accesstoken --password-stdin + - run: gcloud auth configure-docker gcr.io # Checkout code. - uses: actions/checkout@v2