mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-25 13:39:33 +01:00
Update README
This commit is contained in:
parent
69ba977c50
commit
60c3aacb17
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
@ -44,17 +44,16 @@ If this is not the case, the path can be overridden with an environment variable
|
||||||
|
|
||||||
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.
|
||||||
```yml
|
```yml
|
||||||
on: push
|
|
||||||
name: Update Docker Hub Description
|
name: Update Docker Hub Description
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
dockerHubDescription:
|
dockerHubDescription:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Filter master branch
|
|
||||||
uses: actions/bin/filter@master
|
|
||||||
with:
|
|
||||||
args: branch master
|
|
||||||
- name: Docker Hub Description
|
- name: Docker Hub Description
|
||||||
uses: peter-evans/dockerhub-description@v1.0.1
|
uses: peter-evans/dockerhub-description@v1.0.1
|
||||||
env:
|
env:
|
||||||
|
@ -65,8 +64,8 @@ jobs:
|
||||||
|
|
||||||
Updates the Docker Hub repository description whenever a new release is created.
|
Updates the Docker Hub repository description whenever a new release is created.
|
||||||
```yml
|
```yml
|
||||||
on: release
|
|
||||||
name: Update Docker Hub Description
|
name: Update Docker Hub Description
|
||||||
|
on: release
|
||||||
jobs:
|
jobs:
|
||||||
dockerHubDescription:
|
dockerHubDescription:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue