mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-22 03:59:34 +01:00
Update README
This commit is contained in:
parent
30d779d1a8
commit
9baceaf7be
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea
|
|||
|
||||
## Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
action "Docker Hub Description" {
|
||||
uses = "peter-evans/dockerhub-description@v1.0.1"
|
||||
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
||||
|
@ -28,7 +28,7 @@ Note that `DOCKERHUB_USERNAME` and `DOCKERHUB_REPOSITORY` may also be environmen
|
|||
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 overridden with an environment variable.
|
||||
|
||||
```
|
||||
```hcl
|
||||
action "Docker Hub Description" {
|
||||
uses = "peter-evans/dockerhub-description@v1.0.1"
|
||||
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
||||
|
@ -41,7 +41,7 @@ action "Docker Hub Description" {
|
|||
#### Examples
|
||||
|
||||
Updates the Docker Hub repository description whenever there is a `git push` to the `master` branch.
|
||||
```
|
||||
```hcl
|
||||
workflow "Update Docker Hub Description" {
|
||||
resolves = ["Docker Hub Description"]
|
||||
on = "push"
|
||||
|
@ -60,7 +60,7 @@ action "Docker Hub Description" {
|
|||
```
|
||||
|
||||
Updates the Docker Hub repository description whenever a new release is created.
|
||||
```
|
||||
```hcl
|
||||
workflow "Update Docker Hub Description" {
|
||||
resolves = ["Docker Hub Description"]
|
||||
on = "release"
|
||||
|
|
Loading…
Reference in a new issue