mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-22 03:59:34 +01:00
docs: add repository input default
This commit is contained in:
parent
68960cdd4c
commit
9db4dd4244
2 changed files with 9 additions and 6 deletions
|
@ -23,11 +23,11 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea
|
|||
| Name | Description | Default |
|
||||
| --- | --- | --- |
|
||||
| `username` | (**required**) Docker Hub username. If updating a Docker Hub repository belonging to an organization, this user must have `Admin` permissions for the repository. | |
|
||||
| `password` | (**required**) Docker Hub password | |
|
||||
| `repository` | (**required**) Docker Hub repository in the format `<namespace>/<name>` | |
|
||||
| `password` | (**required**) Docker Hub password. | |
|
||||
| `repository` | Docker Hub repository in the format `<namespace>/<name>`. | `github.repository` |
|
||||
| `readme-filepath` | Path to the repository readme. | `./README.md` |
|
||||
|
||||
#### Optionally specifying the file path
|
||||
#### Specifying the file path
|
||||
|
||||
The action assumes that there is a file called `README.md` located at the root of the repository.
|
||||
If this is not the case the path can be specified with the `readme-filepath` input.
|
||||
|
|
|
@ -9,10 +9,13 @@ inputs:
|
|||
description: Docker Hub password
|
||||
required: true
|
||||
repository:
|
||||
description: Docker Hub repository in the format `<namespace>/<name>`
|
||||
required: true
|
||||
description: >
|
||||
Docker Hub repository in the format `<namespace>/<name>`
|
||||
Default: `github.repository`
|
||||
readme-filepath:
|
||||
description: Path to the repository readme. Defaults to `./README.md`.
|
||||
description: >
|
||||
Path to the repository readme
|
||||
Default: `./README.md`
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Reference in a new issue