Update README
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user