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
|
## Usage
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
action "Docker Hub Description" {
|
action "Docker Hub Description" {
|
||||||
uses = "peter-evans/dockerhub-description@v1.0.1"
|
uses = "peter-evans/dockerhub-description@v1.0.1"
|
||||||
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
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.
|
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.
|
If this is not the case, the path can be overridden with an environment variable.
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
action "Docker Hub Description" {
|
action "Docker Hub Description" {
|
||||||
uses = "peter-evans/dockerhub-description@v1.0.1"
|
uses = "peter-evans/dockerhub-description@v1.0.1"
|
||||||
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
||||||
|
@ -41,7 +41,7 @@ action "Docker Hub Description" {
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
Updates the Docker Hub repository description whenever there is a `git push` to the `master` branch.
|
Updates the Docker Hub repository description whenever there is a `git push` to the `master` branch.
|
||||||
```
|
```hcl
|
||||||
workflow "Update Docker Hub Description" {
|
workflow "Update Docker Hub Description" {
|
||||||
resolves = ["Docker Hub Description"]
|
resolves = ["Docker Hub Description"]
|
||||||
on = "push"
|
on = "push"
|
||||||
|
@ -60,7 +60,7 @@ action "Docker Hub Description" {
|
||||||
```
|
```
|
||||||
|
|
||||||
Updates the Docker Hub repository description whenever a new release is created.
|
Updates the Docker Hub repository description whenever a new release is created.
|
||||||
```
|
```hcl
|
||||||
workflow "Update Docker Hub Description" {
|
workflow "Update Docker Hub Description" {
|
||||||
resolves = ["Docker Hub Description"]
|
resolves = ["Docker Hub Description"]
|
||||||
on = "release"
|
on = "release"
|
||||||
|
|
Loading…
Reference in a new issue