From 6b5096b0fe89987cf0032c05db751d4ec10c19e4 Mon Sep 17 00:00:00 2001 From: Caleb Doxsey Date: Tue, 15 Nov 2022 13:25:58 -0700 Subject: [PATCH] ci: fix google (#3754) --- .github/workflows/release.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a780b1be2..61e7719d2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,10 +43,14 @@ jobs: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: google-github-actions/setup-gcloud@ee9693ff89cdf73862b8a13988f6a71070e8fc58 + - name: gcloud authenticate + uses: google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d with: - project_id: pomerium-io - service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT }} + project_id: ${{ secrets.GCP_PRODUCTION_PROJECT_ID }} + credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }} + + - name: gcloud sdk + uses: google-github-actions/setup-gcloud@d51b5346f85640ec2aa2fa057354d2b82c2fcbce - name: Gcloud login run: gcloud auth configure-docker