Update README

This commit is contained in:
Peter Evans 2019-08-22 11:02:17 +09:00
parent e27c9c84cb
commit aa956b3fe8

View file

@ -10,7 +10,7 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea
```yml ```yml
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v1.0.1 uses: peter-evans/dockerhub-description@v2.0.0
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
@ -32,7 +32,7 @@ If this is not the case, the path can be overridden with an environment variable
```yml ```yml
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v1.0.1 uses: peter-evans/dockerhub-description@v2.0.0
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
@ -55,7 +55,7 @@ jobs:
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v1.0.1 uses: peter-evans/dockerhub-description@v2.0.0
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
@ -72,7 +72,7 @@ jobs:
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v1.0.1 uses: peter-evans/dockerhub-description@v2.0.0
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
@ -90,7 +90,7 @@ docker run -v $PWD:/workspace \
-e DOCKERHUB_PASSWORD='xxxxx' \ -e DOCKERHUB_PASSWORD='xxxxx' \
-e DOCKERHUB_REPOSITORY='user1/my-docker-image' \ -e DOCKERHUB_REPOSITORY='user1/my-docker-image' \
-e README_FILEPATH='/workspace/README.md' \ -e README_FILEPATH='/workspace/README.md' \
peterevans/dockerhub-description:1.0.1 peterevans/dockerhub-description:2.0.0
``` ```
## License ## License