We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c219c6 commit 7aadffaCopy full SHA for 7aadffa
.github/README.md
@@ -0,0 +1,17 @@
1
+# CI Tips and Tricks
2
+
3
+## Adding a new repository to Google Cloud workload identity
4
5
+We are using a separate Google Cloud project for GitHub Actions workload
6
+federation, if you need `auth` action to work from a new repo - it needs to be
7
+added to the principal set of a GitHub Actions service account:
8
9
+```
10
+export REPO="firezone/firezone"
11
+gcloud iam service-accounts add-iam-policy-binding "[email protected]" \
12
+ --project="github-iam-387915" \
13
+ --role="roles/iam.workloadIdentityUser" \
14
+ --member="principalSet://iam.googleapis.com/projects/397012414171/locations/global/workloadIdentityPools/github-actions-pool/attribute.repository/${REPO}"
15
16
17
+for more details see https://github.com/google-github-actions/auth.
0 commit comments