Skip to content

Commit 93eb3bf

Browse files
Merge pull request #2570 from IABTechLab/bmz-UID2-7146-restrict-deployment-role
UID2-7146: Switch GCP workflows to dedicated service accounts
2 parents 71e06de + bf1bc53 commit 93eb3bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-gcp-oidc-enclave-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
with:
114114
token_format: access_token
115115
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER_ID }}
116-
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
116+
service_account: ${{ vars.GCP_PUBLISH_SERVICE_ACCOUNT }}
117117
access_token_lifetime: 300s
118118

119119
- name: Log in to the GCP Registry

.github/workflows/run-e2e-tests-on-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
optout_branch: ${{ fromJson(inputs.branch).optout }}
133133
admin_branch: ${{ fromJson(inputs.branch).admin }}
134134
gcp_workload_identity_provider_id: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER_ID }}
135-
gcp_service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
135+
gcp_service_account: ${{ vars.GCP_E2E_SERVICE_ACCOUNT }}
136136
gcp_project: ${{ vars.GCP_PROJECT }}
137137
aws_region: ${{ fromJson(inputs.aws).region }}
138138
aws_ami: ${{ fromJson(inputs.aws).ami }}

0 commit comments

Comments
 (0)