mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-12-06 07:48:13 +08:00
Add github-token input to readme
Signed-off-by: polarctos <polarctos@users.noreply.github.com>
This commit is contained in:
@@ -114,7 +114,7 @@ jobs:
|
||||
The following inputs can be used as `step.with` keys
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
|-------------------|--------|------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
||||
|-------------------|--------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `version` | String | `latest` | Docker version to use. See [inputs.version](#inputs.version). |
|
||||
| `channel` | String | `stable` | Docker CE [channel](https://download.docker.com/linux/static/) (`stable` or `test`). Only applicable to `type=archive` |
|
||||
| `daemon-config` | String | | [Docker daemon JSON configuration](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file) |
|
||||
@@ -123,6 +123,7 @@ The following inputs can be used as `step.with` keys
|
||||
| `set-host` | Bool | `false` | Set `DOCKER_HOST` environment variable to docker socket path. |
|
||||
| `rootless` | Bool | `false` | Start daemon in rootless mode |
|
||||
| `runtime-basedir` | String | `<home>/setup-docker-action` | Docker runtime base directory |
|
||||
| `github-token` | String | `${{ github.token }}` | Optional GitHub Token used to get releases and download assets to avoid rate limitation. On GitHub Enterprise, you might need to set a PAT for `github.com`. |
|
||||
|
||||
### inputs.version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user