mirror of
https://github.com/docker/login-action.git
synced 2026-07-18 20:20:03 +08:00
Add Chainguard registry (cgr.dev) login support
Implement native OIDC-based authentication for Chainguard's container registry, following the same pattern as the existing AWS ECR integration. When registry is set to cgr.dev, the action automatically exchanges a GitHub Actions OIDC token with Chainguard's STS endpoint for a short-lived registry credential, removing the need for chainctl or long-lived pull tokens. New inputs: chainguard (auto/true/false), chainguard-identity. Signed-off-by: Augustus Nguyen <theflash28012002@gmail.com>
This commit is contained in:
parent
4a8376e001
commit
4bcfaae325
9 changed files with 11038 additions and 5741 deletions
|
|
@ -19,6 +19,12 @@ inputs:
|
|||
ecr:
|
||||
description: 'Specifies whether the given registry is ECR (auto, true or false)'
|
||||
required: false
|
||||
chainguard:
|
||||
description: 'Specifies whether the given registry is Chainguard (auto, true or false)'
|
||||
required: false
|
||||
chainguard-identity:
|
||||
description: 'Chainguard identity to assume for OIDC-based authentication'
|
||||
required: false
|
||||
scope:
|
||||
description: 'Scope for the authentication token'
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue