mirror of
https://github.com/docker/login-action.git
synced 2026-01-20 15:08:54 +08:00
kebab-case for action inputs, fix README, fix comments in retry tests
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
This commit is contained in:
parent
fdf655e1ab
commit
c4d11d0a1e
4 changed files with 17 additions and 14 deletions
20
README.md
20
README.md
|
|
@ -500,16 +500,16 @@ jobs:
|
|||
|
||||
The following inputs can be used as `step.with` keys:
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
|------------|--------|---------|-------------------------------------------------------------------------------|
|
||||
| `registry` | String | | Server address of Docker registry. If not set then will default to Docker Hub |
|
||||
| `username` | String | | Username for authenticating to the Docker registry |
|
||||
| `password` | String | | Password or personal access token for authenticating the Docker registry |
|
||||
| `ecr` | String | `auto` | Specifies whether the given registry is ECR (`auto`, `true` or `false`) |
|
||||
| `logout` | Bool | `true` | Log out from the Docker registry at the end of a job |
|
||||
| `http_codes_to_retry` | String | `408,500,502,504` | Comma separated list of HTTP error codes we want to retry |
|
||||
| `max_attempts` | String | `1` | Overall maximum number of attempts we will make trying to login (1 means no retries) |
|
||||
| `retry_timeout` | String | `15` | Timeout between retries, in seconds |
|
||||
| Name | Type | Default | Description |
|
||||
|-----------------------|--------|---------|-------------------------------------------------------------------------------|
|
||||
| `registry` | String | | Server address of Docker registry. If not set then will default to Docker Hub |
|
||||
| `username` | String | | Username for authenticating to the Docker registry |
|
||||
| `password` | String | | Password or personal access token for authenticating the Docker registry |
|
||||
| `ecr` | String | `auto` | Specifies whether the given registry is ECR (`auto`, `true` or `false`) |
|
||||
| `logout` | Bool | `true` | Log out from the Docker registry at the end of a job |
|
||||
| `http-codes-to-retry` | String | `408,500,502,504` | Comma separated list of HTTP error codes we want to retry |
|
||||
| `max-attempts` | String | `1` | Overall maximum number of attempts we could make (`1` means no retries) |
|
||||
| `retry-timeout` | String | `15` | Timeout between retries, in seconds |
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue