You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `type` | String | Registry identity provider type. Must be `aws-ecr`. |
445
+
| `registry` | String | Registry server passed to `docker/login-action`, such as `public.ecr.aws` for public ECR or a private ECR host for private ECR. |
446
+
| `role-to-assume` | String | IAM role ARN assumed through GitHub OIDC. |
447
+
| `region` | String | AWS region passed to `aws-actions/configure-aws-credentials` when assuming the role. Use `us-east-1` for ECR Public. |
448
+
438
449
The `registry` value is required for AWS ECR. Use the registry server that
439
450
`docker/login-action`should log in to, such as `public.ecr.aws` for public ECR
440
451
or `123456789100.dkr.ecr.us-east-1.amazonaws.com` for private ECR.
441
452
453
+
#### Google Artifact Registry
454
+
455
+
Google Artifact Registry authentication is configured with `type: gcp-wif`.
456
+
Callers must grant `id-token: write` so `google-github-actions/auth` can
457
+
exchange the GitHub OIDC token through GCP Workload Identity Federation:
| `type` | String | Registry identity provider type. Must be `gcp-wif`. |
482
+
| `registry` | String | Google Artifact Registry host passed to `docker/login-action`, such as `us-docker.pkg.dev`. Do not use the full repository path. |
483
+
| `workload_identity_provider` | String | Workload Identity Provider resource name passed to `google-github-actions/auth`. |
484
+
| `service_account` | String | Service account email passed to `google-github-actions/auth` for Workload Identity Federation. |
485
+
| `project_id` | String | Google Cloud project ID passed to `google-github-actions/auth`. |
486
+
487
+
The `registry` value is required for GCP WIF. Use the Artifact Registry host
488
+
that `docker/login-action` should log in to, such as `us-docker.pkg.dev`, not
489
+
the full repository path. The workflow requests an access token from
490
+
`google-github-actions/auth`and passes it directly to `docker/login-action`
491
+
with the `oauth2accesstoken` username inside the same job.
492
+
442
493
### Runner mapping
443
494
444
495
The `runner` input accepts either a single GitHub-hosted Linux runner label or a
0 commit comments