@@ -10,31 +10,36 @@ Configure these in your GitHub repository: **Settings → Secrets and variables
1010
1111Required for the ` docker-publish.yml ` workflow:
1212
13- | Secret Name | Description | How to Get |
14- | -------------------- | ------------------------------ | ----------------------------------------------------------------------------------------------- |
15- | ` DOCKERHUB_USERNAME ` | Your Docker Hub username | Your Docker Hub account username |
16- | ` DOCKERHUB_TOKEN ` | Docker Hub access token | Docker Hub → Account Settings → Security → New Access Token (with Read, Write, Delete permissions) |
13+ | Secret Name | Description | How to Get |
14+ | -------------------- | ---------------------------------------- | ----------------------------------------------------------------------------------------------- |
15+ | ` DOCKERHUB_USERNAME ` | Your Docker Hub username | Your Docker Hub account username |
16+ | ` DOCKERHUB_TOKEN ` | Docker Hub access token (for image push) | Docker Hub → Account Settings → Security → New Access Token (with Read & Write permissions) |
17+ | ` DOCKERHUB_PASSWORD ` | Your Docker Hub password (for README sync) | Your actual Docker Hub account password (required for README updates via API) |
18+
19+ ** Note** : The README sync feature requires your actual password due to Docker Hub API limitations. If you prefer not to store your password, you can remove the "Update Docker Hub description" step from the workflow and manually update the README on Docker Hub's website.
1720
1821### For Cloud Run Deployment (Workload Identity Federation - Recommended)
1922
20- | Secret Name | Description | How to Get |
21- | --------------------- | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
22- | ` GCP_PROJECT_ID ` | Your GCP project ID | ` gcloud config get-value project ` |
23- | ` WIF_PROVIDER ` | Workload Identity Federation provider resource name | Format: ` projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_NAME/providers/PROVIDER_NAME ` |
24- | ` WIF_SERVICE_ACCOUNT ` | Service account email for Workload Identity Federation | Format: ` SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com ` |
25- | ` BIGQUERY_PROJECT ` | BigQuery project ID (can be same or different from GCP) | Your BigQuery project ID |
26- | ` BIGQUERY_LOCATION ` | BigQuery location/region | e.g., ` us-central1 ` , ` europe-west4 ` , ` asia-northeast1 ` |
23+ | Name | Type | Description | How to Get |
24+ | --------------------- | ---- | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
25+ | ` GCP_PROJECT_ID ` | Variable | Your GCP project ID | ` gcloud config get-value project ` |
26+ | ` WIF_PROVIDER ` | Secret | Workload Identity Federation provider resource name | Format: ` projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_NAME/providers/PROVIDER_NAME ` |
27+ | ` WIF_SERVICE_ACCOUNT ` | Secret | Service account email for Workload Identity Federation | Format: ` SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com ` |
28+ | ` BIGQUERY_PROJECT ` | Variable | BigQuery project ID (can be same or different from GCP) | Your BigQuery project ID |
29+ | ` BIGQUERY_LOCATION ` | Variable | BigQuery location/region | e.g., ` us-central1 ` , ` europe-west4 ` , ` asia-northeast1 ` |
30+
31+ ** Note** : Project IDs and locations are not sensitive and can be stored as ** Variables** instead of ** Secrets** for better visibility. Go to ** Settings → Secrets and variables → Actions → Variables tab** to add them.
2732
2833### For Service Account Key (Alternative)
2934
3035If not using Workload Identity Federation, use these instead:
3136
32- | Secret Name | Description | How to Get |
33- | ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------- |
34- | ` GCP_PROJECT_ID ` | Your GCP project ID | ` gcloud config get-value project ` |
35- | ` GCP_SA_KEY ` | Service account JSON key (base64) | Create key, then: ` cat key.json \| base64 ` |
36- | ` BIGQUERY_PROJECT ` | BigQuery project ID | Your BigQuery project ID |
37- | ` BIGQUERY_LOCATION ` | BigQuery location/region | e.g., ` us-central1 ` , ` europe-west4 ` |
37+ | Name | Type | Description | How to Get |
38+ | ------------------- | ---- | ---- -------------------------------- | ----------------------------------------------------------------------------------------------- |
39+ | ` GCP_PROJECT_ID ` | Variable | Your GCP project ID | ` gcloud config get-value project ` |
40+ | ` GCP_SA_KEY ` | Secret | Service account JSON key (base64) | Create key, then: ` cat key.json \| base64 ` |
41+ | ` BIGQUERY_PROJECT ` | Variable | BigQuery project ID | Your BigQuery project ID |
42+ | ` BIGQUERY_LOCATION ` | Variable | BigQuery location/region | e.g., ` us-central1 ` , ` europe-west4 ` |
3843
3944## Optional Secrets
4045
0 commit comments