Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76ae034

Browse files
committed
ci: fix gcp service accounts
1 parent64f0aaa commit76ae034

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,8 +1129,8 @@ jobs:
11291129
id:gcloud_auth
11301130
uses:google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5# v2.1.12
11311131
with:
1132-
workload_identity_provider:${{secrets.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
1133-
service_account:${{secrets.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
1132+
workload_identity_provider:${{vars.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
1133+
service_account:${{vars.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
11341134
token_format:"access_token"
11351135

11361136
-name:Setup GCloud SDK
@@ -1433,8 +1433,8 @@ jobs:
14331433
-name:Authenticate to Google Cloud
14341434
uses:google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5# v2.1.12
14351435
with:
1436-
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
1437-
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com
1436+
workload_identity_provider:${{ vars.GCP_WORKLOAD_ID_PROVIDER }}
1437+
service_account:${{ vars.GCP_SERVICE_ACCOUNT }}
14381438

14391439
-name:Set up Google Cloud SDK
14401440
uses:google-github-actions/setup-gcloud@cb1e50a9932213ecece00a606661ae9ca44f3397# v2.2.0

‎.github/workflows/dogfood.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ jobs:
131131
-name:Authenticate to Google Cloud
132132
uses:google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5# v2.1.12
133133
with:
134-
workload_identity_provider:projects/573722524737/locations/global/workloadIdentityPools/github/providers/github
135-
service_account:coder-ci@coder-dogfood.iam.gserviceaccount.com
134+
workload_identity_provider:${{ vars.WORKLOAD_ID_PROVIDER }}
135+
service_account:${{ vars.GCP_SERVICE_ACCOUNT }}
136136

137137
-name:Terraform init and validate
138138
run:|

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ jobs:
288288
id:gcloud_auth
289289
uses:google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5# v2.1.12
290290
with:
291-
workload_identity_provider:${{secrets.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
292-
service_account:${{secrets.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
291+
workload_identity_provider:${{vars.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
292+
service_account:${{vars.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
293293
token_format:"access_token"
294294

295295
-name:Setup GCloud SDK
@@ -699,8 +699,8 @@ jobs:
699699
-name:Authenticate to Google Cloud
700700
uses:google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5# v2.1.12
701701
with:
702-
workload_identity_provider:${{secrets.GCP_WORKLOAD_ID_PROVIDER }}
703-
service_account:${{secrets.GCP_SERVICE_ACCOUNT }}
702+
workload_identity_provider:${{vars.GCP_WORKLOAD_ID_PROVIDER }}
703+
service_account:${{vars.GCP_SERVICE_ACCOUNT }}
704704

705705
-name:Setup GCloud SDK
706706
uses:google-github-actions/setup-gcloud@cb1e50a9932213ecece00a606661ae9ca44f3397# 2.2.0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp